Home
last modified time | relevance | path

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

123456

/minix3/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DMacroArgs.h23 class Preprocessor; variable
65 bool VarargsElided, Preprocessor &PP);
69 void destroy(Preprocessor &PP);
73 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const;
88 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP);
92 const Token &getStringifiedArgument(unsigned ArgNo, Preprocessor &PP,
114 Preprocessor &PP, bool Charify,
H A DTokenLexer.h21 class Preprocessor; variable
41 Preprocessor &PP;
52 friend class Preprocessor; variable
110 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer()
126 bool ownsTokens, Preprocessor &pp) in TokenLexer()
198 Preprocessor &PP);
H A DPreprocessorLexer.h25 class Preprocessor; variable
30 Preprocessor *PP; // Preprocessor object controlling lexing.
74 friend class Preprocessor; variable
76 PreprocessorLexer(Preprocessor *pp, FileID fid);
151 Preprocessor *getPP() const { return PP; } in getPP()
H A DPragma.h23 class Preprocessor; variable
67 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
81 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
117 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
H A DTokenConcatenation.h20 class Preprocessor; variable
32 Preprocessor &PP;
59 TokenConcatenation(Preprocessor &PP);
H A DLiteralSupport.h29 class Preprocessor; variable
43 Preprocessor &PP; // needed for diagnostics
59 Preprocessor &PP);
163 SourceLocation Loc, Preprocessor &PP,
200 Preprocessor &PP, bool Complain = true);
/minix3/external/bsd/llvm/dist/clang/lib/Lex/
H A DPreprocessor.cpp58 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor
141 Preprocessor::~Preprocessor() { in ~Preprocessor()
172 void Preprocessor::Initialize(const TargetInfo &Target) { in Initialize()
182 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile()
194 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile()
200 void Preprocessor::setPTHManager(PTHManager* pm) { in setPTHManager()
205 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken()
229 void Preprocessor::DumpLocation(SourceLocation Loc) const { in DumpLocation()
233 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro()
242 void Preprocessor::PrintStats() { in PrintStats()
[all …]
H A DPPCaching.cpp26 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()
77 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode()
86 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead()
97 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens()
H A DPragma.cpp42 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma()
77 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma()
104 void Preprocessor::HandlePragmaDirective(SourceLocation IntroducerLoc, in HandlePragmaDirective()
127 Preprocessor &PP;
134 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion, in LexingFor_PragmaRAII()
164 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma()
302 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma()
351 void Preprocessor::HandlePragmaOnce(Token &OnceTok) { in HandlePragmaOnce()
362 void Preprocessor::HandlePragmaMark() { in HandlePragmaMark()
373 void Preprocessor::HandlePragmaPoison(Token &PoisonTok) { in HandlePragmaPoison()
[all …]
H A DPPLexerChange.cpp35 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile()
51 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer()
71 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile()
110 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer()
136 void Preprocessor::EnterSourceFileWithPTH(PTHLexer *PL, in EnterSourceFileWithPTH()
161 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro()
190 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
255 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo()
274 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos()
294 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { in HandleEndOfFile()
[all …]
H A DPPDirectives.cpp36 MacroInfo *Preprocessor::AllocateMacroInfo() { in AllocateMacroInfo()
43 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo()
49 MacroInfo *Preprocessor::AllocateDeserializedMacroInfo(SourceLocation L, in AllocateDeserializedMacroInfo()
66 Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, SourceLocation Loc, in AllocateDefMacroDirective()
77 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc, in AllocateUndefMacroDirective()
88 Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc, in AllocateVisibilityMacroDirective()
95 void Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective()
130 static MacroDiag shouldWarnOnMacroDef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroDef()
142 static MacroDiag shouldWarnOnMacroUndef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroUndef()
151 bool Preprocessor::CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in CheckMacroName()
[all …]
H A DMacroArgs.cpp27 bool VarargsElided, Preprocessor &PP) { in create()
73 void MacroArgs::destroy(Preprocessor &PP) { in destroy()
132 Preprocessor &PP) const { in ArgNeedsPreexpansion()
149 Preprocessor &PP) { in getPreExpArgument()
196 Preprocessor &PP, bool Charify, in StringifyArgument()
299 Preprocessor &PP, in getStringifiedArgument()
/minix3/external/bsd/llvm/dist/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,
H A DASTConsumers.h26 class Preprocessor; variable
42 Preprocessor &PP,
/minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/
H A DUtils.h48 class Preprocessor; variable
64 void InitializePreprocessor(Preprocessor &PP,
69 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream* OS,
79 void attachToPreprocessor(Preprocessor &PP);
114 Preprocessor &PP, const DependencyOutputOptions &Opts);
144 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
158 void AttachHeaderIncludeGen(Preprocessor &PP, bool ShowAllHeaders = false,
164 void CacheTokens(Preprocessor &PP, llvm::raw_fd_ostream* OS);
H A DVerifyDiagnosticConsumer.h217 const Preprocessor *CurrentPreprocessor;
252 const Preprocessor *PP) override;
270 bool HandleComment(Preprocessor &PP, SourceRange Comment) override;
/minix3/external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h25 class Preprocessor; variable
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
/minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/
H A DPathDiagnosticConsumers.h23 class Preprocessor; variable
34 const Preprocessor &PP);
/minix3/external/bsd/llvm/dist/clang/include/clang/Parse/
H A DParseAST.h20 class Preprocessor; variable
36 void ParseAST(Preprocessor &pp, ASTConsumer *C,
/minix3/external/bsd/llvm/dist/clang/lib/Parse/
H A DParsePragma.cpp29 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
35 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
41 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
47 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
53 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
59 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
65 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
71 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
77 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
84 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp36 Preprocessor &PP;
40 HTMLPrinter(raw_ostream *OS, Preprocessor &pp, in HTMLPrinter()
51 Preprocessor &PP, in CreateHTMLPrinter()
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h30 class Preprocessor; variable
64 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
/minix3/external/bsd/llvm/dist/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp37 virtual bool HandleComment(Preprocessor &PP, SourceRange Loc) { in HandleComment()
64 Preprocessor *PP;
93 Preprocessor *PP;
96 CommentVerifier(const CommentList &Comments, Preprocessor *PP) in CommentVerifier()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DReachableCode.cpp127 Preprocessor &PP, in isExpandedFromConfigurationMacro()
150 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
160 Preprocessor &PP, in isConfigurationValue()
230 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) { in isConfigurationValue()
253 Preprocessor &PP) { in shouldTreatSuccessorsAsReachable()
269 Preprocessor *PP, in scanFromBlock()
334 Preprocessor &PP, in scanMaybeReachableFromBlock()
348 Preprocessor &PP;
356 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP) in DeadCodeScan()
637 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP, in FindUnreachableCode()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DDependencyGraph.cpp30 const Preprocessor *PP;
45 DependencyGraphCallback(const Preprocessor *_PP, StringRef OutputFile, in DependencyGraphCallback()
62 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, in AttachDependencyGraphGen()

123456