Searched refs:CommentText (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/llvm/tools/llvm-exegesis/lib/ |
D | SnippetFile.cpp | 44 void HandleComment(SMLoc Loc, StringRef CommentText) override { in HandleComment() argument 45 CommentText = CommentText.trim(); in HandleComment() 46 if (!CommentText.consume_front("LLVM-EXEGESIS-")) in HandleComment() 48 if (CommentText.consume_front("DEFREG")) { in HandleComment() 52 CommentText.split(Parts, ' ', /*unlimited splits*/ -1, in HandleComment() 55 errs() << "invalid comment 'LLVM-EXEGESIS-DEFREG " << CommentText in HandleComment() 62 << "' in 'LLVM-EXEGESIS-DEFREG " << CommentText << "'\n"; in HandleComment() 72 if (CommentText.consume_front("LIVEIN")) { in HandleComment() 74 const auto RegName = CommentText.ltrim(); in HandleComment() 79 << "' in 'LLVM-EXEGESIS-LIVEIN " << CommentText << "'\n"; in HandleComment()
|
/external/llvm-project/clang/unittests/AST/ |
D | CommentTextTest.cpp | 30 std::string formatComment(llvm::StringRef CommentText) { in formatComment() argument 31 SourceManagerForFile FileSourceMgr("comment-test.cpp", CommentText); in formatComment() 34 auto CommentStartOffset = CommentText.find("/"); in formatComment()
|
/external/llvm-project/llvm/tools/llvm-mca/ |
D | CodeRegionGenerator.cpp | 38 void HandleComment(SMLoc Loc, StringRef CommentText) override; 75 void MCACommentConsumer::HandleComment(SMLoc Loc, StringRef CommentText) { in HandleComment() argument 77 StringRef Comment(CommentText); in HandleComment()
|
/external/llvm-project/clang/lib/AST/ |
D | RawCommentList.cpp | 361 llvm::StringRef CommentText = getRawText(SourceMgr); in getFormattedText() local 362 if (CommentText.empty()) in getFormattedText() 371 CommentText.begin(), CommentText.end(), in getFormattedText()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CodeCompletionStrings.cpp | 51 bool looksLikeDocComment(llvm::StringRef CommentText) { in looksLikeDocComment() argument 57 return CommentText.find_first_not_of("/*-= \t\r\n") != llvm::StringRef::npos; in looksLikeDocComment()
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | SourceCode.cpp | 359 const StringRef CommentText = Comment->getRawText(SM); in getAssociatedRange() local 360 if (!CommentText.contains("LINT.IfChange") && in getAssociatedRange() 361 !CommentText.contains("LINT.ThenChange")) in getAssociatedRange()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 33 virtual void HandleComment(SMLoc Loc, StringRef CommentText) = 0;
|
/external/llvm-project/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 33 virtual void HandleComment(SMLoc Loc, StringRef CommentText) = 0;
|