OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasParameter
(Results
1 - 3
of
3
) sorted by null
/external/clang/unittests/ASTMatchers/Dynamic/
RegistryTest.cpp
121
Matcher<Decl>
HasParameter
= functionDecl(constructMatcher(
122
"
hasParameter
", 1, hasName("x")).getTypedMatcher<FunctionDecl>());
123
EXPECT_TRUE(matches("void f(int a, int x);",
HasParameter
));
124
EXPECT_FALSE(matches("void f(int x, int a);",
HasParameter
));
ParserTest.cpp
194
OwningPtr<DynTypedMatcher>
HasParameter
(Parser::parseMatcherExpression(
195
"functionDecl(
hasParameter
(1, hasName(\"x\")))", &Error));
197
M = Matcher<Decl>::constructFrom(*
HasParameter
);
/external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp
[
all
...]
Completed in 128 milliseconds