clang API Documentation

clang::Preprocessor Member List
This is the complete list of members for clang::Preprocessor, including all inherited members.
addCommentHandler(CommentHandler *Handler)clang::Preprocessor
addPPCallbacks(std::unique_ptr< PPCallbacks > C)clang::Preprocessor [inline]
AddPragmaHandler(StringRef Namespace, PragmaHandler *Handler)clang::Preprocessor
AddPragmaHandler(PragmaHandler *Handler)clang::Preprocessor [inline]
AdvanceToTokenCharacter(SourceLocation TokStart, unsigned Char) const clang::Preprocessor [inline]
AllocateDeserializedMacroInfo(SourceLocation L, unsigned SubModuleID)clang::Preprocessor
AllocateMacroInfo(SourceLocation L)clang::Preprocessor
AnnotateCachedTokens(const Token &Tok)clang::Preprocessor [inline]
appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, SourceLocation Loc, unsigned ImportedFromModuleID, ArrayRef< unsigned > Overrides)clang::Preprocessor [inline]
appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI)clang::Preprocessor [inline]
appendMacroDirective(IdentifierInfo *II, MacroDirective *MD)clang::Preprocessor
ASTReader classclang::Preprocessor [friend]
Backtrack()clang::Preprocessor
CheckEndOfDirective(const char *Directive, bool EnableMacros=false)clang::Preprocessor
CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef)clang::Preprocessor
clearCodeCompletionHandler()clang::Preprocessor [inline]
CodeCompleteNaturalLanguage()clang::Preprocessor
CommitBacktrackedTokens()clang::Preprocessor
ConcatenateIncludeName(SmallString< 128 > &FilenameBuffer, SourceLocation &End)clang::Preprocessor
createPreprocessingRecord()clang::Preprocessor
CreateString(StringRef Str, Token &Tok, SourceLocation ExpansionLocStart=SourceLocation(), SourceLocation ExpansionLocEnd=SourceLocation())clang::Preprocessor
Diag(SourceLocation Loc, unsigned DiagID) const clang::Preprocessor [inline]
Diag(const Token &Tok, unsigned DiagID) const clang::Preprocessor [inline]
DiscardUntilEndOfDirective()clang::Preprocessor
DumpLocation(SourceLocation Loc) const clang::Preprocessor
DumpMacro(const MacroInfo &MI) const clang::Preprocessor
DumpToken(const Token &Tok, bool DumpFlags=false) const clang::Preprocessor
EnableBacktrackAtThisPos()clang::Preprocessor
enableIncrementalProcessing(bool value=true)clang::Preprocessor [inline]
EndSourceFile()clang::Preprocessor
EnterMacro(Token &Identifier, SourceLocation ILEnd, MacroInfo *Macro, MacroArgs *Args)clang::Preprocessor
EnterMainSourceFile()clang::Preprocessor
EnterSourceFile(FileID CurFileID, const DirectoryLookup *Dir, SourceLocation Loc)clang::Preprocessor
EnterToken(const Token &Tok)clang::Preprocessor [inline]
EnterTokenStream(const Token *Toks, unsigned NumToks, bool DisableMacroExpansion, bool OwnsTokens)clang::Preprocessor
FinalizeForModelFile()clang::Preprocessor
FinishLexStringLiteral(Token &Result, std::string &String, const char *DiagnosticTag, bool AllowMacroExpansion)clang::Preprocessor
getBuiltinInfo()clang::Preprocessor [inline]
getCodeCompletionFileLoc() const clang::Preprocessor [inline]
getCodeCompletionHandler() const clang::Preprocessor [inline]
getCodeCompletionLoc() const clang::Preprocessor [inline]
getCommentRetentionState() const clang::Preprocessor [inline]
getCounterValue() const clang::Preprocessor [inline]
GetCurDirLookup()clang::Preprocessor [inline]
getCurrentFileLexer() const clang::Preprocessor
getCurrentLexer() const clang::Preprocessor [inline]
getCurrentModule()clang::Preprocessor
getCurrentSubmodule() const clang::Preprocessor [inline]
getDiagnostics() const clang::Preprocessor [inline]
getExternalSource() const clang::Preprocessor [inline]
getFileManager() const clang::Preprocessor [inline]
getHeaderSearchInfo() const clang::Preprocessor [inline]
getIdentifierInfo(StringRef Name) const clang::Preprocessor [inline]
getIdentifierTable()clang::Preprocessor [inline]
getImmediateMacroName(SourceLocation Loc)clang::Preprocessor [inline]
GetIncludeFilenameSpelling(SourceLocation Loc, StringRef &Filename)clang::Preprocessor
getLangOpts() const clang::Preprocessor [inline]
getLastCachedTokenLocation() const clang::Preprocessor [inline]
getLastMacroWithSpelling(SourceLocation Loc, ArrayRef< TokenValue > Tokens) const clang::Preprocessor
getLocForEndOfToken(SourceLocation Loc, unsigned Offset=0)clang::Preprocessor [inline]
getMacroDirective(IdentifierInfo *II) const clang::Preprocessor [inline]
getMacroDirectiveHistory(const IdentifierInfo *II) const clang::Preprocessor
getMacroInfo(IdentifierInfo *II) const clang::Preprocessor [inline]
getMacroInfo(IdentifierInfo *II)clang::Preprocessor [inline]
getModuleLoader() const clang::Preprocessor [inline]
getPPCallbacks() const clang::Preprocessor [inline]
getPragmaARCCFCodeAuditedLoc() const clang::Preprocessor [inline]
getPragmasEnabled() const clang::Preprocessor [inline]
getPredefines() const clang::Preprocessor [inline]
getPredefinesFileID() const clang::Preprocessor [inline]
getPreprocessingRecord() const clang::Preprocessor [inline]
getPreprocessorAllocator()clang::Preprocessor [inline]
getPreprocessorOpts() const clang::Preprocessor [inline]
getPTHManager()clang::Preprocessor [inline]
getRawToken(SourceLocation Loc, Token &Result, bool IgnoreWhiteSpace=false)clang::Preprocessor [inline]
getSelectorTable()clang::Preprocessor [inline]
getSourceManager() const clang::Preprocessor [inline]
getSpelling(SourceLocation loc, SmallVectorImpl< char > &buffer, bool *invalid=nullptr) const clang::Preprocessor [inline]
getSpelling(const Token &Tok, bool *Invalid=nullptr) const clang::Preprocessor [inline]
getSpelling(const Token &Tok, const char *&Buffer, bool *Invalid=nullptr) const clang::Preprocessor [inline]
getSpelling(const Token &Tok, SmallVectorImpl< char > &Buffer, bool *Invalid=nullptr) const clang::Preprocessor
getSpellingOfSingleCharacterNumericConstant(const Token &Tok, bool *Invalid=nullptr) const clang::Preprocessor [inline]
GetSuppressIncludeNotFoundError()clang::Preprocessor [inline]
getTargetInfo() const clang::Preprocessor [inline]
getTotalMemory() const clang::Preprocessor
hadModuleLoaderFatalFailure() const clang::Preprocessor [inline]
HandleComment(Token &Token, SourceRange Comment)clang::Preprocessor
HandleDirective(Token &Result)clang::Preprocessor
HandleEndOfFile(Token &Result, bool isEndOfMacro=false)clang::Preprocessor
HandleEndOfTokenLexer(Token &Result)clang::Preprocessor
HandleIdentifier(Token &Identifier)clang::Preprocessor
HandleMicrosoftCommentPaste(Token &Tok)clang::Preprocessor
HandlePoisonedIdentifier(Token &Tok)clang::Preprocessor
HandlePragmaDependency(Token &DependencyTok)clang::Preprocessor
HandlePragmaIncludeAlias(Token &Tok)clang::Preprocessor
HandlePragmaMark()clang::Preprocessor
HandlePragmaOnce(Token &OnceTok)clang::Preprocessor
HandlePragmaPoison(Token &PoisonTok)clang::Preprocessor
HandlePragmaPopMacro(Token &Tok)clang::Preprocessor
HandlePragmaPushMacro(Token &Tok)clang::Preprocessor
HandlePragmaSystemHeader(Token &SysHeaderTok)clang::Preprocessor
IgnorePragmas()clang::Preprocessor
IncrementPasteCounter(bool isFast)clang::Preprocessor [inline]
Initialize(const TargetInfo &Target)clang::Preprocessor
InitializeForModelFile()clang::Preprocessor
isAtEndOfMacroExpansion(SourceLocation loc, SourceLocation *MacroEnd=nullptr) const clang::Preprocessor [inline]
isAtStartOfMacroExpansion(SourceLocation loc, SourceLocation *MacroBegin=nullptr) const clang::Preprocessor [inline]
isBacktrackEnabled() const clang::Preprocessor [inline]
isCodeCompletionEnabled() const clang::Preprocessor [inline]
isCodeCompletionReached() const clang::Preprocessor [inline]
isCurrentLexer(const PreprocessorLexer *L) const clang::Preprocessor [inline]
isIncrementalProcessingEnabled() const clang::Preprocessor [inline]
isInPrimaryFile() const clang::Preprocessor
isParsingIfOrElifDirective() const clang::Preprocessor [inline]
isPreprocessedOutput() const clang::Preprocessor [inline]
Lex(Token &Result)clang::Preprocessor
LexAfterModuleImport(Token &Result)clang::Preprocessor
LexNonComment(Token &Result)clang::Preprocessor [inline]
LexOnOffSwitch(tok::OnOffSwitch &OOS)clang::Preprocessor
LexStringLiteral(Token &Result, std::string &String, const char *DiagnosticTag, bool AllowMacroExpansion)clang::Preprocessor [inline]
LexUnexpandedNonComment(Token &Result)clang::Preprocessor [inline]
LexUnexpandedToken(Token &Result)clang::Preprocessor [inline]
LookAhead(unsigned N)clang::Preprocessor [inline]
LookupFile(SourceLocation FilenameLoc, StringRef Filename, bool isAngled, const DirectoryLookup *FromDir, const FileEntry *FromFile, const DirectoryLookup *&CurDir, SmallVectorImpl< char > *SearchPath, SmallVectorImpl< char > *RelativePath, ModuleMap::KnownHeader *SuggestedModule, bool SkipCache=false)clang::Preprocessor
LookUpIdentifierInfo(Token &Identifier) const clang::Preprocessor
macro_begin(bool IncludeExternalMacros=true) const clang::Preprocessor
macro_end(bool IncludeExternalMacros=true) const clang::Preprocessor
macro_iterator typedefclang::Preprocessor
MacroArgs classclang::Preprocessor [friend]
markMacroAsUsed(MacroInfo *MI)clang::Preprocessor
MaybeHandlePoisonedIdentifier(Token &Identifier)clang::Preprocessor [inline]
ParsePragmaPushOrPopMacro(Token &Tok)clang::Preprocessor
parseSimpleIntegerLiteral(Token &Tok, uint64_t &Value)clang::Preprocessor
PoisonSEHIdentifiers(bool Poison=true)clang::Preprocessor
Preprocessor(IntrusiveRefCntPtr< PreprocessorOptions > PPOpts, DiagnosticsEngine &diags, LangOptions &opts, SourceManager &SM, HeaderSearch &Headers, ModuleLoader &TheModuleLoader, IdentifierInfoLookup *IILookup=nullptr, bool OwnsHeaderSearch=false, TranslationUnitKind TUKind=TU_Complete)clang::Preprocessor
PrintStats()clang::Preprocessor
recomputeCurLexerKind()clang::Preprocessor
removeCommentHandler(CommentHandler *Handler)clang::Preprocessor
RemovePragmaHandler(StringRef Namespace, PragmaHandler *Handler)clang::Preprocessor
RemovePragmaHandler(PragmaHandler *Handler)clang::Preprocessor [inline]
RemoveTopOfLexerStack()clang::Preprocessor
ReplaceLastTokenWithAnnotation(const Token &Tok)clang::Preprocessor [inline]
RevertCachedTokens(unsigned N)clang::Preprocessor [inline]
SawDateOrTime() const clang::Preprocessor [inline]
setCodeCompletionHandler(CodeCompletionHandler &Handler)clang::Preprocessor [inline]
SetCodeCompletionPoint(const FileEntry *File, unsigned Line, unsigned Column)clang::Preprocessor
setCodeCompletionReached()clang::Preprocessor [inline]
SetCommentRetentionState(bool KeepComments, bool KeepMacroComments)clang::Preprocessor [inline]
setCounterValue(unsigned V)clang::Preprocessor [inline]
setDiagnostics(DiagnosticsEngine &D)clang::Preprocessor [inline]
setExternalSource(ExternalPreprocessorSource *Source)clang::Preprocessor [inline]
setLoadedMacroDirective(IdentifierInfo *II, MacroDirective *MD)clang::Preprocessor
SetMacroExpansionOnlyInDirectives()clang::Preprocessor [inline]
SetPoisonReason(IdentifierInfo *II, unsigned DiagID)clang::Preprocessor
setPragmaARCCFCodeAuditedLoc(SourceLocation Loc)clang::Preprocessor [inline]
setPragmasEnabled(bool Enabled)clang::Preprocessor [inline]
setPredefines(const char *P)clang::Preprocessor [inline]
setPredefines(const std::string &P)clang::Preprocessor [inline]
setPreprocessedOutput(bool IsPreprocessedOutput)clang::Preprocessor [inline]
setPTHManager(PTHManager *pm)clang::Preprocessor
setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine)clang::Preprocessor [inline]
SetSuppressIncludeNotFoundError(bool Suppress)clang::Preprocessor [inline]
TokenLexer::ExpandFunctionArguments()clang::Preprocessor [friend]
TypoCorrectToken(const Token &Tok)clang::Preprocessor [inline]
~Preprocessor()clang::Preprocessor