/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor 169 Preprocessor::~Preprocessor() { in ~Preprocessor() 195 void Preprocessor::Initialize(const TargetInfo &Target, in Initialize() 213 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile() 225 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile() 231 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken() 255 void Preprocessor::DumpLocation(SourceLocation Loc) const { in DumpLocation() 259 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro() 268 void Preprocessor::PrintStats() { in PrintStats() 306 Preprocessor::macro_iterator [all …]
|
H A D | PPCaching.cpp | 25 void Preprocessor::EnableBacktrackAtThisPos() { in EnableBacktrackAtThisPos() 32 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens() 40 void Preprocessor::Backtrack() { in Backtrack() 48 void Preprocessor::CachingLex(Token &Result) { in CachingLex() 82 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode() 98 void Preprocessor::EnterCachingLexModeUnchecked() { in EnterCachingLexModeUnchecked() 105 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead() 116 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens() 139 bool Preprocessor::IsPreviousCachedToken(const Token &Tok) const { in IsPreviousCachedToken() 157 void Preprocessor::ReplacePreviousCachedToken(ArrayRef<Token> NewToks) { in ReplacePreviousCachedToken()
|
H A D | Pragma.cpp | 66 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma() 106 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma() 135 Preprocessor &Self; 166 void Preprocessor::HandlePragmaDirective(PragmaIntroducer Introducer) { in HandlePragmaDirective() 188 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma() 341 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma() 400 void Preprocessor::HandlePragmaOnce(Token &OnceTok) { in HandlePragmaOnce() 415 void Preprocessor::HandlePragmaMark() { in HandlePragmaMark() 421 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison() 463 void Preprocessor::HandlePragmaSystemHeader(Token &SysHeaderTok) { in HandlePragmaSystemHeader() [all …]
|
H A D | PPDirectives.cpp | 58 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo() 64 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective() 70 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() 75 Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc, in AllocateVisibilityMacroDirective() 82 SourceRange Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective() 122 static MacroDiag shouldWarnOnMacroDef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroDef() 175 static MacroDiag shouldWarnOnMacroUndef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroUndef() 261 bool Preprocessor::CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in CheckMacroName() 333 void Preprocessor::ReadMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in ReadMacroName() 362 SourceLocation Preprocessor::CheckEndOfDirective(const char *DirType, in CheckEndOfDirective() [all …]
|
H A D | PPLexerChange.cpp | 33 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile() 48 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer() 67 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile() 98 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() 124 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro() 153 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream() 221 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo() 240 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos() 264 void Preprocessor::diagnoseMissingHeaderInUmbrellaDir(const Module &Mod) { in diagnoseMissingHeaderInUmbrellaDir() 305 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { in HandleEndOfFile() [all …]
|
H A D | PPMacroExpansion.cpp | 63 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { in getLocalMacroDirectiveHistory() 71 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() 96 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective() 132 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro() 174 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, in getModuleMacro() 183 void Preprocessor::updateModuleMacroInfo(const IdentifierInfo *II, in updateModuleMacroInfo() 261 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo() 328 static IdentifierInfo *RegisterBuiltinMacro(Preprocessor &PP, const char *Name){ in RegisterBuiltinMacro() 341 void Preprocessor::RegisterBuiltinMacros() { in RegisterBuiltinMacros() 404 Preprocessor &PP) { in isTrivialSingleTokenExpansion() [all …]
|
H A D | MacroArgs.cpp | 26 bool VarargsElided, Preprocessor &PP) { in create() 78 void MacroArgs::destroy(Preprocessor &PP) { in destroy() 137 Preprocessor &PP) { in invokedWithVariadicArgument() 147 Preprocessor &PP) const { in ArgNeedsPreexpansion() 162 Preprocessor &PP) { in getPreExpArgument() 209 Preprocessor &PP, bool Charify, in StringifyArgument()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | MacroArgs.h | 24 class Preprocessor; variable 68 bool VarargsElided, Preprocessor &PP); 72 void destroy(Preprocessor &PP); 76 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const; 91 getPreExpArgument(unsigned Arg, Preprocessor &PP); 117 bool invokedWithVariadicArgument(const MacroInfo *const MI, Preprocessor &PP); 125 Preprocessor &PP, bool Charify,
|
H A D | TokenLexer.h | 23 class Preprocessor; variable 31 friend class Preprocessor; variable 41 Preprocessor &PP; 109 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer() 118 bool ownsTokens, bool isReinject, Preprocessor &pp) in TokenLexer() 238 Preprocessor &PP);
|
H A D | PreprocessorLexer.h | 27 class Preprocessor; variable 33 friend class Preprocessor; 36 Preprocessor *PP = nullptr; 78 PreprocessorLexer(Preprocessor *pp, FileID fid); 144 Preprocessor *getPP() const { return PP; } in getPP()
|
H A D | Pragma.h | 25 class Preprocessor; variable 74 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 88 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 120 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
|
H A D | VariadicMacroSupport.h | 22 class Preprocessor; variable 31 const Preprocessor &PP; 36 VariadicMacroScopeGuard(const Preprocessor &P) in VariadicMacroScopeGuard() 74 VAOptDefinitionContext(Preprocessor &PP) in VAOptDefinitionContext() 151 VAOptExpansionContext(Preprocessor &PP) in VAOptExpansionContext()
|
H A D | TokenConcatenation.h | 19 class Preprocessor; variable 31 const Preprocessor &PP; 58 TokenConcatenation(const Preprocessor &PP);
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
H A D | Utils.h | 53 class Preprocessor; variable 65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts, 70 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS, 81 virtual void attachToPreprocessor(Preprocessor &PP); 122 void attachToPreprocessor(Preprocessor &PP) override; 172 void attachToPreprocessor(Preprocessor &PP) override; 181 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, 196 void AttachHeaderIncludeGen(Preprocessor &PP,
|
H A D | CompilerInstance.h | 49 class Preprocessor; variable 96 std::shared_ptr<Preprocessor> PP; 441 Preprocessor &getPreprocessor() const { in getPreprocessor() 446 std::shared_ptr<Preprocessor> getPreprocessorPtr() { return PP; } in getPreprocessorPtr() 449 llvm::BuryPointer(new std::shared_ptr<Preprocessor>(PP)); in resetAndLeakPreprocessor() 453 void setPreprocessor(std::shared_ptr<Preprocessor> Value); 667 bool AllowPCHWithCompilerErrors, Preprocessor &PP, 683 Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column,
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Frontend/ |
H A D | Rewriters.h | 19 class Preprocessor; variable 23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS); 26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS); 29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | MacroPPCallbacks.h | 23 class Preprocessor; variable 32 Preprocessor &PP; 74 const MacroInfo &MI, Preprocessor &PP, 91 MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP);
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 31 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 37 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 43 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 49 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 56 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 65 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 71 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 77 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 83 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, 89 void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer, [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | IndexingAction.cpp | 85 std::shared_ptr<Preprocessor> PP; 91 std::shared_ptr<Preprocessor> PP, in IndexASTConsumer() 154 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP, in createIndexingASTConsumer() 162 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) { in createIndexingASTConsumer() 213 static void indexPreprocessorMacros(Preprocessor &PP, in indexPreprocessorMacros() 223 static void indexPreprocessorModuleMacros(Preprocessor &PP, in indexPreprocessorModuleMacros() 254 void index::indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP, in indexTopLevelDecls()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/ |
H A D | HTMLRewrite.h | 24 class Preprocessor; variable 70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP); 76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Index/ |
H A D | IndexingAction.h | 39 std::shared_ptr<Preprocessor> PP); 43 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP, 58 void indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | ReachableCode.cpp | 150 Preprocessor &PP, in isExpandedFromConfigurationMacro() 179 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP); 189 Preprocessor &PP, in isConfigurationValue() 272 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) { in isConfigurationValue() 295 Preprocessor &PP) { in shouldTreatSuccessorsAsReachable() 311 Preprocessor *PP, in scanFromBlock() 376 Preprocessor &PP, in scanMaybeReachableFromBlock() 390 Preprocessor &PP; 399 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C) in DeadCodeScan() 679 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP, in FindUnreachableCode()
|
H A D | MacroExpansionContext.cpp | 14 static void dumpTokenInto(const clang::Preprocessor &PP, clang::raw_ostream &OS, 20 const Preprocessor &PP; 26 const Preprocessor &PP, SourceManager &SM, in MacroExpansionRangeRecorder() 88 void MacroExpansionContext::registerForPreprocessor(Preprocessor &NewPP) { in registerForPreprocessor() 176 static void dumpTokenInto(const Preprocessor &PP, raw_ostream &OS, Token Tok) { in dumpTokenInto()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 81 class Preprocessor; variable 135 Preprocessor *PP = nullptr; 466 void WriteControlBlock(Preprocessor &PP, ASTContext &Context, 470 ASTFileSignature writeUnhashedControlBlock(Preprocessor &PP, 480 const Preprocessor &PP); 481 void WritePreprocessor(const Preprocessor &PP, bool IsModule); 507 void WriteIdentifierTable(Preprocessor &PP, IdentifierResolver &IdResolver, 766 const Preprocessor &PP; 782 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | HTMLPrint.cpp | 34 Preprocessor &PP; 38 HTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &pp, in HTMLPrinter() 49 clang::CreateHTMLPrinter(std::unique_ptr<raw_ostream> OS, Preprocessor &PP, in CreateHTMLPrinter()
|