|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 2098 cxxBoolLiteral;
References
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 166 REGISTER_MATCHER(cxxBoolLiteral);
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp 159 characterLiteral(), cxxBoolLiteral()));
tools/clang/tools/extra/clang-tidy/bugprone/TerminatingContinueCheck.cpp 24 anyOf(cxxBoolLiteral(equals(false)), integerLiteral(equals(0)),
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp 640 anyOf(cxxBoolLiteral(), characterLiteral(), integerLiteral()));
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp 38 expr(anyOf(cxxBoolLiteral(equals(false)), integerLiteral(equals(0)),
tools/clang/tools/extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp 203 cxxBoolLiteral(), cxxNullPtrLiteralExpr(), implicitValueInitExpr(),
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp 275 hasSourceExpression(cxxBoolLiteral()))),
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp 69 returnStmt(has(cxxBoolLiteral(equals(Value)).bind(Id)))
427 hasCondition(cxxBoolLiteral(equals(Value)).bind(BooleanId)))
437 hasTrueExpression(cxxBoolLiteral(equals(Value))),
438 hasFalseExpression(cxxBoolLiteral(equals(!Value))))
469 hasRHS(cxxBoolLiteral(equals(Value)).bind(IfAssignLocId)));
474 hasRHS(cxxBoolLiteral(equals(!Value))));
494 cxxBoolLiteral(equals(!Value)))))
tools/clang/unittests/AST/ASTImporterTest.cpp 649 hasCondition(cxxBoolLiteral(equals(true))),
tools/clang/unittests/AST/DataCollectionTest.cpp 158 ASSERT_TRUE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;",
160 ASSERT_FALSE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;",
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 848 ifStmt(hasCondition(cxxBoolLiteral(equals(true))));
859 hasCondition(cxxBoolLiteral(equals(true))),
860 hasTrueExpression(cxxBoolLiteral(equals(false))));
867 hasFalseExpression(cxxBoolLiteral(equals(false))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp 1090 ifStmt(hasThen(cxxBoolLiteral(equals(true))))));
1092 ifStmt(hasThen(cxxBoolLiteral(equals(true))))));
1094 ifStmt(hasElse(cxxBoolLiteral(equals(true))))));
1096 ifStmt(hasElse(cxxBoolLiteral(equals(true))))));
1108 binaryOperator(hasLHS(cxxBoolLiteral(equals(true))),
1109 hasRHS(cxxBoolLiteral(equals(false))));
1123 binaryOperator(hasEitherOperand(cxxBoolLiteral(equals(false))));
1240 unaryOperator(hasUnaryOperand(cxxBoolLiteral(equals(false))));
1336 ifStmt(hasCondition(cxxBoolLiteral(equals(true))));
1341 forStmt(hasCondition(cxxBoolLiteral(equals(true))));
1346 whileStmt(hasCondition(cxxBoolLiteral(equals(true))));
1829 cxxConversionDecl(hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1833 cxxConversionDecl(hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1837 cxxConversionDecl(hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1841 cxxConversionDecl(hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1845 cxxConstructorDecl(hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1849 cxxConstructorDecl(hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1853 cxxConstructorDecl(hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1859 hasExplicitSpecifier(constantExpr(has(cxxBoolLiteral())))),
1864 constantExpr(has(cxxBoolLiteral())))),
1869 constantExpr(has(cxxBoolLiteral())))),
tools/clang/unittests/Tooling/RefactoringCallbacksTest.cpp 71 conditionalOperator(hasCondition(cxxBoolLiteral(equals(false))),
94 ifStmt(hasCondition(cxxBoolLiteral(equals(false)))).bind("id"), Callback);