Home
last modified time | relevance | path

Searched refs:CommentLoc (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DInsertionPoint.cpp68 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 DArgumentCommentCheck.cpp111 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 DSemaAttr.cpp505 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 DParsePragma.cpp3010 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 DDecl.h147 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 DDecl.cpp4887 SourceLocation CommentLoc, in Create() argument
4892 PragmaCommentDecl(DC, CommentLoc, CommentKind); in Create()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp9182 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 DSema.h10283 void ActOnPragmaMSComment(SourceLocation CommentLoc, PragmaMSCommentKind Kind,