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(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]
AllocateMacroInfo(SourceLocation L)clang::Preprocessor
AnnotateCachedTokens(const Token &Tok)clang::Preprocessor [inline]
Backtrack()clang::Preprocessor
CheckEndOfDirective(const char *Directive, bool EnableMacros=false)clang::Preprocessor
clearCodeCompletionHandler()clang::Preprocessor [inline]
CloneMacroInfo(const MacroInfo &MI)clang::Preprocessor
CodeCompleteNaturalLanguage()clang::Preprocessor
CommitBacktrackedTokens()clang::Preprocessor
ConcatenateIncludeName(SmallString< 128 > &FilenameBuffer, SourceLocation &End)clang::Preprocessor
createPreprocessingRecord(bool RecordConditionalDirectives)clang::Preprocessor
CreateString(const char *Buf, unsigned Len, 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, 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
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
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]
getLocForEndOfToken(SourceLocation Loc, unsigned Offset=0)clang::Preprocessor [inline]
getMacroInfo(IdentifierInfo *II) const clang::Preprocessor [inline]
getModuleLoader() const clang::Preprocessor [inline]
getPPCallbacks() const clang::Preprocessor [inline]
getPragmaARCCFCodeAuditedLoc() const clang::Preprocessor [inline]
getPredefines() const clang::Preprocessor [inline]
getPreprocessingRecord() const clang::Preprocessor [inline]
getPreprocessorAllocator()clang::Preprocessor [inline]
getPTHManager()clang::Preprocessor [inline]
getSelectorTable()clang::Preprocessor [inline]
getSourceManager() const clang::Preprocessor [inline]
getSpelling(SourceLocation loc, SmallVectorImpl< char > &buffer, bool *invalid=0) const clang::Preprocessor [inline]
getSpelling(const Token &Tok, bool *Invalid=0) const clang::Preprocessor [inline]
getSpelling(const Token &Tok, const char *&Buffer, bool *Invalid=0) const clang::Preprocessor [inline]
getSpelling(const Token &Tok, SmallVectorImpl< char > &Buffer, bool *Invalid=0) const clang::Preprocessor
getSpellingOfSingleCharacterNumericConstant(const Token &Tok, bool *Invalid=0) const clang::Preprocessor [inline]
GetSuppressIncludeNotFoundError()clang::Preprocessor [inline]
getTargetInfo() const clang::Preprocessor [inline]
getTotalMemory() const clang::Preprocessor
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
HandlePragmaComment(Token &CommentTok)clang::Preprocessor
HandlePragmaDependency(Token &DependencyTok)clang::Preprocessor
HandlePragmaIncludeAlias(Token &Tok)clang::Preprocessor
HandlePragmaMark()clang::Preprocessor
HandlePragmaMessage(Token &MessageTok)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
IncrementPasteCounter(bool isFast)clang::Preprocessor [inline]
Initialize(const TargetInfo &Target)clang::Preprocessor
isAtEndOfMacroExpansion(SourceLocation loc, SourceLocation *MacroEnd=0) const clang::Preprocessor [inline]
isAtStartOfMacroExpansion(SourceLocation loc, SourceLocation *MacroBegin=0) 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
Lex(Token &Result)clang::Preprocessor [inline]
LexAfterModuleImport(Token &Result)clang::Preprocessor
LexNonComment(Token &Result)clang::Preprocessor [inline]
LexOnOffSwitch(tok::OnOffSwitch &OOS)clang::Preprocessor
LexUnexpandedNonComment(Token &Result)clang::Preprocessor [inline]
LexUnexpandedToken(Token &Result)clang::Preprocessor [inline]
LookAhead(unsigned N)clang::Preprocessor [inline]
LookupFile(StringRef Filename, bool isAngled, const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, SmallVectorImpl< char > *SearchPath, SmallVectorImpl< char > *RelativePath, Module **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
PoisonSEHIdentifiers(bool Poison=true)clang::Preprocessor
Preprocessor(DiagnosticsEngine &diags, LangOptions &opts, const TargetInfo *target, SourceManager &SM, HeaderSearch &Headers, ModuleLoader &TheModuleLoader, IdentifierInfoLookup *IILookup=0, bool OwnsHeaderSearch=false, bool DelayInitialization=false, bool IncrProcessing=false)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]
setMacroInfo(IdentifierInfo *II, MacroInfo *MI, bool LoadedFromAST=false)clang::Preprocessor
SetPoisonReason(IdentifierInfo *II, unsigned DiagID)clang::Preprocessor
setPragmaARCCFCodeAuditedLoc(SourceLocation Loc)clang::Preprocessor [inline]
setPredefines(const char *P)clang::Preprocessor [inline]
setPredefines(const std::string &P)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]
~Preprocessor()clang::Preprocessor