Searched refs:CommentOpts (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | RawCommentList.cpp | 111 const CommentOptions &CommentOpts, bool Merged) : in RawComment() argument 123 getCommentKind(RawText, CommentOpts.ParseAllComments); in RawComment() 126 if (CommentOpts.ParseAllComments && isOrdinaryKind(K.first)) { in RawComment() 275 const CommentOptions &CommentOpts, in addComment() argument 281 if (RC.isOrdinary() && !CommentOpts.ParseAllComments) in addComment() 322 RawComment(SourceMgr, MergedRange, CommentOpts, true); in addComment()
|
| H A D | ASTContext.cpp | 232 LangOpts.CommentOpts.ParseAllComments) && in getRawCommentForDeclNoCacheImpl() 257 LangOpts.CommentOpts.ParseAllComments) || in getRawCommentForDeclNoCacheImpl() 311 Comments.addComment(RC, LangOpts.CommentOpts, BumpAlloc); in addComment() 457 assert(Comment.isDocumentation() || LangOpts.CommentOpts.ParseAllComments); in cacheRawCommentForDecl() 988 Comments(SM), CommentCommandTraits(BumpAlloc, LOpts.CommentOpts), in ASTContext()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | RawCommentList.h | 48 const CommentOptions &CommentOpts, bool Merged); 199 void addComment(const RawComment &RC, const CommentOptions &CommentOpts,
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Compiler.cpp | 112 CI->getLangOpts()->CommentOpts.ParseAllComments = true; in buildCompilerInvocation()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | IndexAction.cpp | 169 CI.getLangOpts().CommentOpts.ParseAllComments = true; in BeginInvocation()
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | CompilerInvocationTest.cpp | 488 ASSERT_TRUE(Invocation.getLangOpts()->CommentOpts.BlockCommandNames.empty()); in TEST_F() 500 ASSERT_EQ(Invocation.getLangOpts()->CommentOpts.BlockCommandNames, in TEST_F() 514 ASSERT_EQ(Invocation.getLangOpts()->CommentOpts.BlockCommandNames, in TEST_F()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | LangOptions.h | 426 CommentOptions CommentOpts; variable
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | SymbolCollectorTests.cpp | 252 CI.getLangOpts().CommentOpts.ParseAllComments = true; in create()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | Sema.cpp | 2341 RawComment RC(SourceMgr, Comment, LangOpts.CommentOpts, false); in ActOnComment()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1346 Record.push_back(LangOpts.CommentOpts.BlockCommandNames.size()); in WriteControlBlock() 1347 for (const auto &I : LangOpts.CommentOpts.BlockCommandNames) { in WriteControlBlock() 1350 Record.push_back(LangOpts.CommentOpts.ParseAllComments); in WriteControlBlock()
|
| H A D | ASTReader.cpp | 333 if (ExistingLangOpts.CommentOpts.BlockCommandNames != in checkLanguageOptions() 334 LangOpts.CommentOpts.BlockCommandNames) { in checkLanguageOptions() 5821 LangOpts.CommentOpts.BlockCommandNames.push_back( in ParseLanguageOptions() 5824 LangOpts.CommentOpts.ParseAllComments = Record[Idx++]; in ParseLanguageOptions()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 608 LangOpt.CommentOpts); in updated()
|
| H A D | CompilerInvocation.cpp | 4576 HBuilder.addRange(LangOpts->CommentOpts.BlockCommandNames); in getModuleHash()
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Options.td | 1400 MetaVarName<"<arg>">, MarshallingInfoStringVector<LangOpts<"CommentOpts.BlockCommandNames">>; 1402 MarshallingInfoFlag<LangOpts<"CommentOpts.ParseAllComments">>;
|