Searched refs:AssertMessage (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UnaryStaticAssertCheck.cpp | 26 const StringLiteral *AssertMessage = MatchedDecl->getMessage(); in check() local 30 if (!AssertMessage || AssertMessage->getLength() || in check() 31 AssertMessage->getBeginLoc().isMacroID() || Loc.isMacroID()) in check() 36 << FixItHint::CreateRemoval(AssertMessage->getSourceRange()); in check()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 719 ExprResult AssertMessage; in ParseStaticAssertDeclaration() local 740 AssertMessage = ParseStringLiteralExpression(); in ParseStaticAssertDeclaration() 741 if (AssertMessage.isInvalid()) { in ParseStaticAssertDeclaration() 754 AssertMessage.get(), in ParseStaticAssertDeclaration()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 894 ExprResult AssertMessage; in ParseStaticAssertDeclaration() local 915 AssertMessage = ParseStringLiteralExpression(); in ParseStaticAssertDeclaration() 916 if (AssertMessage.isInvalid()) { in ParseStaticAssertDeclaration() 929 AssertMessage.get(), in ParseStaticAssertDeclaration()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 16022 StringLiteral *AssertMessage = in ActOnStaticAssertDeclaration() local 16029 AssertMessage, RParenLoc, false); in ActOnStaticAssertDeclaration() 16034 StringLiteral *AssertMessage, in BuildStaticAssertDeclaration() argument 16065 if (AssertMessage) in BuildStaticAssertDeclaration() 16066 AssertMessage->printPretty(Msg, nullptr, getPrintingPolicy()); in BuildStaticAssertDeclaration() 16076 << !AssertMessage << Msg.str() << AssertExpr->getSourceRange(); in BuildStaticAssertDeclaration() 16083 << InnerCondDescription << !AssertMessage in BuildStaticAssertDeclaration() 16087 << !AssertMessage << Msg.str() << AssertExpr->getSourceRange(); in BuildStaticAssertDeclaration() 16102 AssertExpr, AssertMessage, RParenLoc, in BuildStaticAssertDeclaration()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 12369 StringLiteral *AssertMessage = in ActOnStaticAssertDeclaration() local 12376 AssertMessage, RParenLoc, false); in ActOnStaticAssertDeclaration() 12381 StringLiteral *AssertMessage, in BuildStaticAssertDeclaration() argument 12402 if (AssertMessage) in BuildStaticAssertDeclaration() 12403 AssertMessage->printPretty(Msg, nullptr, getPrintingPolicy()); in BuildStaticAssertDeclaration() 12405 << !AssertMessage << Msg.str() << AssertExpr->getSourceRange(); in BuildStaticAssertDeclaration() 12411 AssertExpr, AssertMessage, RParenLoc, in BuildStaticAssertDeclaration()
|