Home
last modified time | relevance | path

Searched refs:UserDefinedLiteral (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/clang/lib/AST/
DExprCXX.cpp874 UserDefinedLiteral::UserDefinedLiteral(Expr *Fn, ArrayRef<Expr *> Args, in UserDefinedLiteral() function in UserDefinedLiteral
883 UserDefinedLiteral::UserDefinedLiteral(unsigned NumArgs, bool HasFPFeatures, in UserDefinedLiteral() function in UserDefinedLiteral
888 UserDefinedLiteral *UserDefinedLiteral::Create(const ASTContext &Ctx, Expr *Fn, in Create()
898 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, in Create()
899 alignof(UserDefinedLiteral)); in Create()
901 UserDefinedLiteral(Fn, Args, Ty, VK, LitEndLoc, SuffixLoc, FPFeatures); in Create()
904 UserDefinedLiteral *UserDefinedLiteral::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
911 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, in CreateEmpty()
912 alignof(UserDefinedLiteral)); in CreateEmpty()
913 return new (Mem) UserDefinedLiteral(NumArgs, HasFPOptions, Empty); in CreateEmpty()
[all …]
DStmtPrinter.cpp1844 void StmtPrinter::VisitUserDefinedLiteral(UserDefinedLiteral *Node) { in VisitUserDefinedLiteral()
1846 case UserDefinedLiteral::LOK_Raw: in VisitUserDefinedLiteral()
1849 case UserDefinedLiteral::LOK_Template: { in VisitUserDefinedLiteral()
1869 case UserDefinedLiteral::LOK_Integer: { in VisitUserDefinedLiteral()
1875 case UserDefinedLiteral::LOK_Floating: { in VisitUserDefinedLiteral()
1881 case UserDefinedLiteral::LOK_String: in VisitUserDefinedLiteral()
1882 case UserDefinedLiteral::LOK_Character: in VisitUserDefinedLiteral()
DStmtProfile.cpp1760 void StmtProfiler::VisitUserDefinedLiteral(const UserDefinedLiteral *S) { in VisitUserDefinedLiteral()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-magic-numbers-userliteral.cpp10 void UserDefinedLiteral() { in UserDefinedLiteral() function
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMagicNumbersCheck.cpp163 if (const auto *UDL = Parent.get<UserDefinedLiteral>()) in isConstant()
164 if (UDL->getLiteralOperatorKind() == UserDefinedLiteral::LOK_String) in isConstant()
/external/llvm-project/clang/lib/Tooling/Syntax/
DBuildTree.cpp842 bool TraverseUserDefinedLiteral(UserDefinedLiteral *S) { in TraverseUserDefinedLiteral()
852 buildUserDefinedLiteral(UserDefinedLiteral *S) { in buildUserDefinedLiteral()
854 case UserDefinedLiteral::LOK_Integer: in buildUserDefinedLiteral()
856 case UserDefinedLiteral::LOK_Floating: in buildUserDefinedLiteral()
858 case UserDefinedLiteral::LOK_Character: in buildUserDefinedLiteral()
860 case UserDefinedLiteral::LOK_String: in buildUserDefinedLiteral()
862 case UserDefinedLiteral::LOK_Raw: in buildUserDefinedLiteral()
863 case UserDefinedLiteral::LOK_Template: in buildUserDefinedLiteral()
885 bool WalkUpFromUserDefinedLiteral(UserDefinedLiteral *S) { in WalkUpFromUserDefinedLiteral()
/external/clang/lib/AST/
DStmtPrinter.cpp1928 void StmtPrinter::VisitUserDefinedLiteral(UserDefinedLiteral *Node) { in VisitUserDefinedLiteral()
1930 case UserDefinedLiteral::LOK_Raw: in VisitUserDefinedLiteral()
1933 case UserDefinedLiteral::LOK_Template: { in VisitUserDefinedLiteral()
1954 case UserDefinedLiteral::LOK_Integer: { in VisitUserDefinedLiteral()
1960 case UserDefinedLiteral::LOK_Floating: { in VisitUserDefinedLiteral()
1966 case UserDefinedLiteral::LOK_String: in VisitUserDefinedLiteral()
1967 case UserDefinedLiteral::LOK_Character: in VisitUserDefinedLiteral()
DExprCXX.cpp659 UserDefinedLiteral::LiteralOperatorKind
660 UserDefinedLiteral::getLiteralOperatorKind() const { in getLiteralOperatorKind()
681 Expr *UserDefinedLiteral::getCookedLiteral() { in getCookedLiteral()
689 const IdentifierInfo *UserDefinedLiteral::getUDSuffix() const { in getUDSuffix()
DStmtProfile.cpp1242 void StmtProfiler::VisitUserDefinedLiteral(const UserDefinedLiteral *S) { in VisitUserDefinedLiteral()
/external/clang/include/clang/Basic/
DStmtNodes.td112 def UserDefinedLiteral : DStmt<CallExpr>;
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DArgumentCommentCheck.cpp253 (CommentUserDefinedLiterals && isa<UserDefinedLiteral>(Arg)) || in shouldAddComment()
/external/llvm-project/clang/include/clang/AST/
DExprCXX.h628 class UserDefinedLiteral final : public CallExpr {
638 UserDefinedLiteral(Expr *Fn, ArrayRef<Expr *> Args, QualType Ty,
642 UserDefinedLiteral(unsigned NumArgs, bool HasFPFeatures, EmptyShell Empty);
645 static UserDefinedLiteral *Create(const ASTContext &Ctx, Expr *Fn,
651 static UserDefinedLiteral *CreateEmpty(const ASTContext &Ctx,
685 return const_cast<UserDefinedLiteral*>(this)->getCookedLiteral(); in getCookedLiteral()
DRecursiveASTVisitor.h2583 DEF_TRAVERSE_STMT(UserDefinedLiteral, {})
/external/llvm-project/clang/include/clang/Basic/
DStmtNodes.td127 def UserDefinedLiteral : StmtNode<CallExpr>;
/external/clang/include/clang/AST/
DExprCXX.h409 class UserDefinedLiteral : public CallExpr {
414 UserDefinedLiteral(const ASTContext &C, Expr *Fn, ArrayRef<Expr*> Args, in UserDefinedLiteral() function
419 explicit UserDefinedLiteral(const ASTContext &C, EmptyShell Empty) in UserDefinedLiteral() function
441 return const_cast<UserDefinedLiteral*>(this)->getCookedLiteral(); in getCookedLiteral()
DRecursiveASTVisitor.h2329 DEF_TRAVERSE_STMT(UserDefinedLiteral, {})
/external/llvm-project/clang-tools-extra/clangd/
DSelection.cpp645 return llvm::isa<UserDefinedLiteral>(X); in shouldSkipChildren()
DHover.cpp617 llvm::isa<StringLiteral>(E) || llvm::isa<UserDefinedLiteral>(E); in isLiteral()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp901 const internal::VariadicDynCastAllOfMatcher<Stmt, UserDefinedLiteral>
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp277 TEST(Matcher, UserDefinedLiteral) { in TEST() argument
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp420 TEST_P(ASTMatchersTest, UserDefinedLiteral) { in TEST_P() argument
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1700 UserDefinedLiteral> userDefinedLiteral;
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1791 void ASTStmtReader::VisitUserDefinedLiteral(UserDefinedLiteral *E) { in VisitUserDefinedLiteral()
3551 S = UserDefinedLiteral::CreateEmpty( in ReadStmtFromStream()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1335 void ASTStmtReader::VisitUserDefinedLiteral(UserDefinedLiteral *E) { in VisitUserDefinedLiteral()
3521 S = new (Context) UserDefinedLiteral(Context, Empty); in ReadStmtFromStream()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h2340 extern const internal::VariadicDynCastAllOfMatcher<Stmt, UserDefinedLiteral>

12