Searched refs:CommentLoc (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | InsertionPoint.cpp | 68 auto CommentLoc = Comment->getBeginLoc(); in beginLoc() local 69 if (CommentLoc.isValid() && Loc.isValid() && in beginLoc() 71 CommentLoc, Loc)) in beginLoc() 72 Loc = CommentLoc; in beginLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ArgumentCommentCheck.cpp | 111 std::pair<FileID, unsigned> CommentLoc = in getCommentsInRange() local 113 assert(CommentLoc.first == BeginLoc.first); in getCommentsInRange() 116 StringRef(Buffer.begin() + CommentLoc.second, Tok.getLength())); in getCommentsInRange()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaAttr.cpp | 505 void Sema::ActOnPragmaMSComment(SourceLocation CommentLoc, in ActOnPragmaMSComment() argument 508 Context, Context.getTranslationUnitDecl(), CommentLoc, Kind, Arg); in ActOnPragmaMSComment()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParsePragma.cpp | 3010 SourceLocation CommentLoc = Tok.getLocation(); in HandlePragma() local 3013 PP.Diag(CommentLoc, diag::err_pragma_comment_malformed); in HandlePragma() 3020 PP.Diag(CommentLoc, diag::err_pragma_comment_malformed); in HandlePragma() 3073 PP.getPPCallbacks()->PragmaComment(CommentLoc, II, ArgumentString); in HandlePragma() 3075 Actions.ActOnPragmaMSComment(CommentLoc, Kind, ArgumentString); in HandlePragma()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 147 PragmaCommentDecl(TranslationUnitDecl *TU, SourceLocation CommentLoc, in PragmaCommentDecl() argument 149 : Decl(PragmaComment, TU, CommentLoc), CommentKind(CommentKind) {} in PragmaCommentDecl() 155 SourceLocation CommentLoc,
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Decl.cpp | 4887 SourceLocation CommentLoc, in Create() argument 4892 PragmaCommentDecl(DC, CommentLoc, CommentKind); in Create()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 9182 SourceLocation CommentLoc = C->getBeginLoc(); in ReadComments() local 9183 if (CommentLoc.isValid()) { in ReadComments() 9185 SourceMgr.getDecomposedLoc(CommentLoc); in ReadComments()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 10283 void ActOnPragmaMSComment(SourceLocation CommentLoc, PragmaMSCommentKind Kind,
|