Home
last modified time | relevance | path

Searched refs:SetCommentRetentionState (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DExplicitConstructorCheck.cpp48 Lex.SetCommentRetentionState(true); in findToken()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DHTMLRewrite.cpp455 L.SetCommentRetentionState(true); in SyntaxHighlight()
585 TmpPP.SetCommentRetentionState(false, false); in HighlightMacros()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DLex.cpp25 Lexer.SetCommentRetentionState(true); in lex()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp71 RawLex.SetCommentRetentionState(true); in LexRawTokensFromMainFile()
H A DInclusionRewriter.cpp363 RawLex.SetCommentRetentionState(false); in Process()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h269 void SetCommentRetentionState(bool Mode) { in SetCommentRetentionState() function
H A DPreprocessor.h1109 void SetCommentRetentionState(bool KeepComments, bool KeepMacroComments) { in SetCommentRetentionState() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DArgumentCommentCheck.cpp101 TheLexer.SetCommentRetentionState(true); in getCommentsInRange()
/llvm-project-15.0.7/clang/tools/clang-refactor/
H A DTestSupport.cpp319 Lex.SetCommentRetentionState(true); in findTestSelectionRanges()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp177 SetCommentRetentionState(PP->getCommentRetentionState()); in resetExtendedTokenMode()
489 TheLexer.SetCommentRetentionState(true); in getRawToken()
537 TheLexer.SetCommentRetentionState(true); in getBeginningOfFileToken()
599 TheLexer.SetCommentRetentionState(true); in ComputePreamble()
H A DPPDirectives.cpp3041 if (CurLexer) CurLexer->SetCommentRetentionState(KeepMacroComments); in HandleDefineDirective()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp970 PP.SetCommentRetentionState(Opts.ShowComments, Opts.ShowMacroComments); in DoPrintPreprocessedInput()
H A DVerifyDiagnosticConsumer.cpp831 RawLex.SetCommentRetentionState(true); in findDirectives()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSimplifyBooleanExprCheck.cpp249 Lex.SetCommentRetentionState(true); in containsDiscardedTokens()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp7117 Lex.SetCommentRetentionState(true); in getTokens()
7846 Lex.SetCommentRetentionState(true); in annotatePreprocessorTokens()