Home
last modified time | relevance | path

Searched refs:varDecl (Results 1 – 15 of 15) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp284 varDecl(hasName("z_float"), in TEST()
288 varDecl(hasName("z_float"), in TEST()
292 varDecl(hasName("z_char"), in TEST()
309 varDecl(hasName("z_float"), in TEST()
313 varDecl(hasName("z_float"), in TEST()
317 varDecl(hasName("z_char"), in TEST()
388 Code, varDecl(hasName("MyVar1"), hasDeclContext(translationUnitDecl())))); in TEST()
390 Code, varDecl(hasName("MyVar2"), hasDeclContext(translationUnitDecl())))); in TEST()
393 varDecl(hasName("MyVar2"), in TEST()
435 hasArgument(0, declRefExpr(to(varDecl()))))))); in TEST()
[all …]
/external/clang/unittests/AST/
DSourceLocationTest.cpp34 EXPECT_FALSE(Verifier.match("int i", varDecl())); in TEST()
46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST()
89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST()
148 varDecl(), Lang_C89)); in TEST()
/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp133 matches("int x;", VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
142 EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
149 EXPECT_DEATH(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in TEST()
/external/clang/docs/
DLibASTMatchersTutorial.rst235 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
242 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
258 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
277 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
369 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
379 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
404 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
442 to(varDecl(hasType(isInteger())))))),
481 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
486 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
[all …]
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp86 declRefExpr(to(varDecl(hasName("a"))))))))), in TEST()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTestCase.cpp874 …const glu::VariableDeclaration* varDecl = (path[0].isInterfaceBlock()) ? (path[1].getDeclaration()… in getExplicitLocationFromPath() local
889 else if (varDecl->storage == glu::STORAGE_UNIFORM) in getExplicitLocationFromPath()
892 return varDecl->layout.location; in getExplicitLocationFromPath()
894 else if (varDecl->storage == glu::STORAGE_IN || in getExplicitLocationFromPath()
895 varDecl->storage == glu::STORAGE_OUT || in getExplicitLocationFromPath()
896 varDecl->storage == glu::STORAGE_PATCH_IN || in getExplicitLocationFromPath()
897 varDecl->storage == glu::STORAGE_PATCH_OUT) in getExplicitLocationFromPath()
900 return getIOSubVariableLocation(path, 1, varDecl->layout.location); in getExplicitLocationFromPath()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp375 REGISTER_MATCHER(varDecl); in RegistryMaps()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp592 const VarDecl *varDecl = Dtor.getVarDecl(); in ProcessAutomaticObjDtor() local
593 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor()
596 SVal dest = state->getLValue(varDecl, Pred->getLocationContext()); in ProcessAutomaticObjDtor()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h828 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; variable
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...