Home
last modified time | relevance | path

Searched refs:Preprocessor (Results 1 – 25 of 139) sorted by relevance

123456

/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessor.cpp79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor
163 Preprocessor::~Preprocessor() { in ~Preprocessor()
207 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile()
219 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile()
262 void Preprocessor::PrintStats() { in PrintStats()
300 Preprocessor::macro_iterator
327 Preprocessor::macro_iterator
513 Module *Preprocessor::getCurrentModule() { in getCurrentModule()
526 void Preprocessor::EnterMainSourceFile() { in EnterMainSourceFile()
664 void Preprocessor::EndSourceFile() { in EndSourceFile()
[all …]
H A DPPCaching.cpp26 void Preprocessor::EnableBacktrackAtThisPos() { in EnableBacktrackAtThisPos()
32 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens()
38 Preprocessor::CachedTokensRange Preprocessor::LastCachedTokenRange() { in LastCachedTokenRange()
44 void Preprocessor::EraseCachedTokens(CachedTokensRange TokenRange) { in EraseCachedTokens()
63 void Preprocessor::Backtrack() { in Backtrack()
71 void Preprocessor::CachingLex(Token &Result) { in CachingLex()
107 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode()
118 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead()
129 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens()
152 bool Preprocessor::IsPreviousCachedToken(const Token &Tok) const { in IsPreviousCachedToken()
[all …]
H A DPragma.cpp101 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma()
152 Preprocessor &PP;
200 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma()
404 void Preprocessor::HandlePragmaMark() { in HandlePragmaMark()
410 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison()
759 Preprocessor &PP, Token &Tok, in LexModuleNameComponent()
780 Preprocessor &PP, Token &Tok, in LexModuleName()
1122 void HandleCaptured(Preprocessor &PP) { in HandleCaptured()
1555 if (Preprocessor::checkModuleIsAvailable( in HandlePragma()
1786 void Preprocessor::RegisterBuiltinPragmas() { in RegisterBuiltinPragmas()
[all …]
H A DPPLexerChange.cpp36 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile()
51 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer()
102 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer()
128 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro()
222 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo()
241 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos()
543 bool Preprocessor::HandleEndOfTokenLexer(Token &Result) { in HandleEndOfTokenLexer()
564 void Preprocessor::RemoveTopOfLexerStack() { in RemoveTopOfLexerStack()
581 void Preprocessor::HandleMicrosoftCommentPaste(Token &Tok) { in HandleMicrosoftCommentPaste()
700 bool Preprocessor::needModuleMacros() const { in needModuleMacros()
[all …]
H A DPPDirectives.cpp82 void Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective()
658 const FileEntry *Preprocessor::LookupFile( in LookupFile()
790 class Preprocessor::ResetMacroExpansionHelper {
792 ResetMacroExpansionHelper(Preprocessor *pp) in ResetMacroExpansionHelper()
803 Preprocessor *PP;
838 void Preprocessor::HandleDirective(Token &Result) { in HandleDirective()
1085 void Preprocessor::HandleLineDirective() { in HandleLineDirective()
1160 Preprocessor &PP) { in ReadLineMarkerFlags()
1388 void Preprocessor::HandleMacroPrivateDirective() { in HandleMacroPrivateDirective()
2547 void Preprocessor::HandleDefineDirective( in HandleDefineDirective()
[all …]
H A DPPMacroExpansion.cpp93 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective()
257 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo()
337 void Preprocessor::RegisterBuiltinMacros() { in RegisterBuiltinMacros()
395 Preprocessor &PP) { in isTrivialSingleTokenExpansion()
426 bool Preprocessor::isNextPPTokenLParen() { in isNextPPTokenLParen()
653 static bool GenerateNewArgTokens(Preprocessor &PP, in GenerateNewArgTokens()
1058 Preprocessor &PP) { in ComputeDATE_TIME()
1255 Preprocessor &PP) { in EvaluateHasInclude()
1297 Preprocessor &PP, in EvaluateFeatureLikeBuiltinMacro()
1461 void Preprocessor::ExpandBuiltinMacro(Token &Tok) { in ExpandBuiltinMacro()
[all …]
H A DMacroArgs.cpp27 bool VarargsElided, Preprocessor &PP) { in create()
79 void MacroArgs::destroy(Preprocessor &PP) { in destroy()
153 Preprocessor &PP) const { in ArgNeedsPreexpansion()
168 Preprocessor &PP) { in getPreExpArgument()
215 Preprocessor &PP, bool Charify, in StringifyArgument()
318 Preprocessor &PP, in getStringifiedArgument()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DMacroArgs.h25 class Preprocessor; variable
73 bool VarargsElided, Preprocessor &PP);
77 void destroy(Preprocessor &PP);
81 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const;
96 getPreExpArgument(unsigned Arg, Preprocessor &PP);
100 const Token &getStringifiedArgument(unsigned ArgNo, Preprocessor &PP,
135 Preprocessor &PP, bool Charify,
H A DTokenLexer.h24 class Preprocessor; variable
32 friend class Preprocessor; variable
42 Preprocessor &PP;
106 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer()
115 bool ownsTokens, Preprocessor &pp) in TokenLexer()
235 Preprocessor &PP);
H A DPreprocessorLexer.h28 class Preprocessor; variable
34 friend class Preprocessor;
37 Preprocessor *PP = nullptr;
80 PreprocessorLexer(Preprocessor *pp, FileID fid);
150 Preprocessor *getPP() const { return PP; } in getPP()
H A DPragma.h25 class Preprocessor; variable
68 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
82 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
115 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
H A DVariadicMacroSupport.h23 class Preprocessor; variable
32 const Preprocessor &PP;
37 VariadicMacroScopeGuard(const Preprocessor &P) in VariadicMacroScopeGuard()
79 VAOptDefinitionContext(Preprocessor &PP) in VAOptDefinitionContext()
153 VAOptExpansionContext(Preprocessor &PP) in VAOptExpansionContext()
H A DTokenConcatenation.h20 class Preprocessor; variable
32 const Preprocessor &PP;
59 TokenConcatenation(const Preprocessor &PP);
H A DLiteralSupport.h30 class Preprocessor; variable
44 Preprocessor &PP; // needed for diagnostics
60 Preprocessor &PP);
185 SourceLocation Loc, Preprocessor &PP,
223 Preprocessor &PP, bool Complain = true);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DUtils.h58 class Preprocessor; variable
70 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
75 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS,
87 virtual void attachToPreprocessor(Preprocessor &PP);
126 Preprocessor &PP, const DependencyOutputOptions &Opts);
156 void attachToPreprocessor(Preprocessor &PP) override;
165 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
180 void AttachHeaderIncludeGen(Preprocessor &PP,
H A DCompilerInstance.h50 class Preprocessor; variable
99 std::shared_ptr<Preprocessor> PP;
449 Preprocessor &getPreprocessor() const { in getPreprocessor()
454 std::shared_ptr<Preprocessor> getPreprocessorPtr() { return PP; } in getPreprocessorPtr()
457 llvm::BuryPointer(new std::shared_ptr<Preprocessor>(PP)); in resetAndLeakPreprocessor()
461 void setPreprocessor(std::shared_ptr<Preprocessor> Value);
675 bool AllowPCHWithCompilerErrors, Preprocessor &PP, ASTContext &Context,
691 Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column,
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DRewriters.h20 class Preprocessor; variable
24 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
27 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
30 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMacroPPCallbacks.h24 class Preprocessor; variable
33 Preprocessor &PP;
75 const MacroInfo &MI, Preprocessor &PP,
92 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp41 const Preprocessor &PP;
47 const Preprocessor &PP,
75 const Preprocessor &PP;
80 const Preprocessor &PP) in PlistPrinter()
158 const Preprocessor &PP,
170 const Preprocessor &PP);
439 const Preprocessor &PP, in printBugPath()
489 const Preprocessor &PP, in PlistDiagnostics()
746 const Preprocessor &PP;
752 TokenPrinter(llvm::raw_ostream &OS, const Preprocessor &PP) in TokenPrinter()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp1635 void PragmaPackHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
1900 void PragmaAlignHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
1906 void PragmaOptionsHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
1913 void PragmaUnusedHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
1994 void PragmaWeakHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2098 PragmaFPContractHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2185 PragmaNoOpenMPHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2200 PragmaOpenMPHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
2343 void PragmaMSVtorDisp::HandlePragma(Preprocessor &PP, in HandlePragma()
2430 void PragmaMSPragma::HandlePragma(Preprocessor &PP, in HandlePragma()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h25 class Preprocessor; variable
71 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
77 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp35 Preprocessor &PP;
39 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp, in HTMLPrinter()
50 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP, in CreateHTMLPrinter()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DReachableCode.cpp150 Preprocessor &PP, in isExpandedFromConfigurationMacro()
179 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
189 Preprocessor &PP, in isConfigurationValue()
271 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) { in isConfigurationValue()
294 Preprocessor &PP) { in shouldTreatSuccessorsAsReachable()
310 Preprocessor *PP, in scanFromBlock()
375 Preprocessor &PP, in scanMaybeReachableFromBlock()
389 Preprocessor &PP;
398 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C) in DeadCodeScan()
679 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP, in FindUnreachableCode()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/
H A DPathDiagnosticConsumers.h23 class Preprocessor; variable
34 const Preprocessor &PP);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DParseAST.h20 class Preprocessor; variable
39 void ParseAST(Preprocessor &pp, ASTConsumer *C,

123456