clang 20.0.0git
clang::Preprocessor Member List

This is the complete list of members for clang::Preprocessor, including all inherited members.

addCommentHandler(CommentHandler *Handler)clang::Preprocessor
addFinalLoc(const IdentifierInfo *II, SourceLocation AnnotationLoc)clang::Preprocessorinline
addMacroDeprecationMsg(const IdentifierInfo *II, std::string Msg, SourceLocation AnnotationLoc)clang::Preprocessorinline
addModuleMacro(Module *Mod, IdentifierInfo *II, MacroInfo *Macro, ArrayRef< ModuleMacro * > Overrides, bool &IsNew)clang::Preprocessor
addPPCallbacks(std::unique_ptr< PPCallbacks > C)clang::Preprocessorinline
AddPragmaHandler(StringRef Namespace, PragmaHandler *Handler)clang::Preprocessor
AddPragmaHandler(PragmaHandler *Handler)clang::Preprocessorinline
addRestrictExpansionMsg(const IdentifierInfo *II, std::string Msg, SourceLocation AnnotationLoc)clang::Preprocessorinline
AdvanceToTokenCharacter(SourceLocation TokStart, unsigned Char) constclang::Preprocessorinline
AllocateMacroInfo(SourceLocation L)clang::Preprocessor
alreadyIncluded(FileEntryRef File) constclang::Preprocessorinline
AnnotateCachedTokens(const Token &Tok)clang::Preprocessorinline
appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, SourceLocation Loc)clang::Preprocessorinline
appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI)clang::Preprocessorinline
appendMacroDirective(IdentifierInfo *II, MacroDirective *MD)clang::Preprocessor
ASTReaderclang::Preprocessorfriend
Backtrack()clang::Preprocessor
CheckEndOfDirective(const char *DirType, bool EnableMacros=false)clang::Preprocessor
CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, bool *ShadowFlag=nullptr)clang::Preprocessor
checkModuleIsAvailable(const LangOptions &LangOpts, const TargetInfo &TargetInfo, const Module &M, DiagnosticsEngine &Diags)clang::Preprocessorstatic
clearCodeCompletionHandler()clang::Preprocessorinline
CodeCompleteIncludedFile(llvm::StringRef Dir, bool IsAngled)clang::Preprocessor
CodeCompleteNaturalLanguage()clang::Preprocessor
CollectPpImportSuffix(SmallVectorImpl< Token > &Toks)clang::Preprocessor
CommitBacktrackedTokens()clang::Preprocessor
createPreprocessingRecord()clang::Preprocessor
CreateString(StringRef Str, Token &Tok, SourceLocation ExpansionLocStart=SourceLocation(), SourceLocation ExpansionLocEnd=SourceLocation())clang::Preprocessor
creatingPCHWithPragmaHdrStop()clang::Preprocessor
creatingPCHWithThroughHeader()clang::Preprocessor
Diag(SourceLocation Loc, unsigned DiagID) constclang::Preprocessorinline
Diag(const Token &Tok, unsigned DiagID) constclang::Preprocessorinline
DiscardUntilEndOfDirective()clang::Preprocessorinline
DiscardUntilEndOfDirective(Token &Tok)clang::Preprocessor
DumpLocation(SourceLocation Loc) constclang::Preprocessor
DumpMacro(const MacroInfo &MI) constclang::Preprocessor
dumpMacroInfo(const IdentifierInfo *II)clang::Preprocessor
DumpToken(const Token &Tok, bool DumpFlags=false) constclang::Preprocessor
emitMacroExpansionWarnings(const Token &Identifier, bool IsIfnDef=false) constclang::Preprocessorinline
EnableBacktrackAtThisPos(bool Unannotated=false)clang::Preprocessor
enableIncrementalProcessing(bool value=true)clang::Preprocessorinline
EndSourceFile()clang::Preprocessor
EnterAnnotationToken(SourceRange Range, tok::TokenKind Kind, void *AnnotationVal)clang::Preprocessor
EnterMacro(Token &Tok, SourceLocation ILEnd, MacroInfo *Macro, MacroArgs *Args)clang::Preprocessor
EnterMainSourceFile()clang::Preprocessor
enterOrExitSafeBufferOptOutRegion(bool isEnter, const SourceLocation &Loc)clang::Preprocessor
EnterSourceFile(FileID FID, ConstSearchDirIterator Dir, SourceLocation Loc, bool IsFirstIncludeOfFile=true)clang::Preprocessor
EnterSubmodule(Module *M, SourceLocation ImportLoc, bool ForPragma)clang::Preprocessor
EnterToken(const Token &Tok, bool IsReinject)clang::Preprocessorinline
EnterTokenStream(std::unique_ptr< Token[]> Toks, unsigned NumToks, bool DisableMacroExpansion, bool IsReinject)clang::Preprocessorinline
EnterTokenStream(ArrayRef< Token > Toks, bool DisableMacroExpansion, bool IsReinject)clang::Preprocessorinline
FinalizeForModelFile()clang::Preprocessor
FinishLexStringLiteral(Token &Result, std::string &String, const char *DiagnosticTag, bool AllowMacroExpansion)clang::Preprocessor
getAffectingClangModules() constclang::Preprocessorinline
getAuxTargetInfo() constclang::Preprocessorinline
getBuildingSubmodules() constclang::Preprocessorinline
getBuiltinInfo()clang::Preprocessorinline
getCheckPoint(FileID FID, const char *Start) constclang::Preprocessor
getCodeCompletionFileLoc() constclang::Preprocessorinline
getCodeCompletionFilter()clang::Preprocessorinline
getCodeCompletionHandler() constclang::Preprocessorinline
getCodeCompletionLoc() constclang::Preprocessorinline
getCodeCompletionTokenRange() constclang::Preprocessorinline
getCommentRetentionState() constclang::Preprocessorinline
getCounterValue() constclang::Preprocessorinline
getCurrentFileLexer() constclang::Preprocessor
getCurrentFPEvalMethod() constclang::Preprocessorinline
getCurrentLexer() constclang::Preprocessorinline
getCurrentLexerSubmodule() constclang::Preprocessorinline
getCurrentModule()clang::Preprocessor
getCurrentModuleImplementation()clang::Preprocessor
getDiagnostics() constclang::Preprocessorinline
getEmptylineHandler() constclang::Preprocessorinline
getExternalSource() constclang::Preprocessorinline
getFileManager() constclang::Preprocessorinline
getHeaderSearchInfo() constclang::Preprocessorinline
getHeaderToIncludeForDiagnostics(SourceLocation IncLoc, SourceLocation MLoc)clang::Preprocessor
getIdentifierInfo(StringRef Name) constclang::Preprocessorinline
getIdentifierTable()clang::Preprocessorinline
getIdentifierTable() constclang::Preprocessorinline
getImmediateMacroName(SourceLocation Loc)clang::Preprocessorinline
getIncludedFiles()clang::Preprocessorinline
getIncludedFiles() constclang::Preprocessorinline
GetIncludeFilenameSpelling(SourceLocation Loc, StringRef &Buffer)clang::Preprocessor
getLangOpts() constclang::Preprocessorinline
getLastCachedTokenLocation() constclang::Preprocessorinline
getLastFPEvalPragmaLocation() constclang::Preprocessorinline
getLastMacroWithSpelling(SourceLocation Loc, ArrayRef< TokenValue > Tokens) constclang::Preprocessor
getLeafModuleMacros(const IdentifierInfo *II) constclang::Preprocessorinline
getLocalMacroDirective(const IdentifierInfo *II) constclang::Preprocessorinline
getLocalMacroDirectiveHistory(const IdentifierInfo *II) constclang::Preprocessor
getLocForEndOfToken(SourceLocation Loc, unsigned Offset=0)clang::Preprocessorinline
getMacroAnnotations(const IdentifierInfo *II) constclang::Preprocessorinline
getMacroDefinition(const IdentifierInfo *II)clang::Preprocessorinline
getMacroDefinitionAtLoc(const IdentifierInfo *II, SourceLocation Loc)clang::Preprocessorinline
getMacroInfo(const IdentifierInfo *II) constclang::Preprocessorinline
getMacroInfo(const IdentifierInfo *II)clang::Preprocessorinline
getMaxTokens() constclang::Preprocessorinline
getMaxTokensOverrideLoc() constclang::Preprocessorinline
getModuleForLocation(SourceLocation Loc, bool AllowTextual)clang::Preprocessor
getModuleImportLoc(Module *M) constclang::Preprocessorinline
getModuleLoader() constclang::Preprocessorinline
getModuleMacro(Module *Mod, const IdentifierInfo *II)clang::Preprocessor
getNamedModuleName() constclang::Preprocessorinline
getNumDirectives() constclang::Preprocessorinline
getPPCallbacks() constclang::Preprocessorinline
getPragmaARCCFCodeAuditedInfo() constclang::Preprocessorinline
getPragmaAssumeNonNullLoc() constclang::Preprocessorinline
getPragmasEnabled() constclang::Preprocessorinline
getPreambleConditionalStack() constclang::Preprocessorinline
getPreambleRecordedPragmaAssumeNonNullLoc() constclang::Preprocessorinline
getPreambleSkipInfo() constclang::Preprocessorinline
getPredefines() constclang::Preprocessorinline
getPredefinesFileID() constclang::Preprocessorinline
getPreprocessingRecord() constclang::Preprocessorinline
getPreprocessorAllocator()clang::Preprocessorinline
getPreprocessorOpts() constclang::Preprocessorinline
getRawToken(SourceLocation Loc, Token &Result, bool IgnoreWhiteSpace=false)clang::Preprocessorinline
getSelectorTable()clang::Preprocessorinline
getSourceManager() constclang::Preprocessorinline
getSpelling(SourceLocation loc, SmallVectorImpl< char > &buffer, bool *invalid=nullptr) constclang::Preprocessorinline
getSpelling(const Token &Tok, bool *Invalid=nullptr) constclang::Preprocessorinline
getSpelling(const Token &Tok, const char *&Buffer, bool *Invalid=nullptr) constclang::Preprocessorinline
getSpelling(const Token &Tok, SmallVectorImpl< char > &Buffer, bool *Invalid=nullptr) constclang::Preprocessor
getSpellingOfSingleCharacterNumericConstant(const Token &Tok, bool *Invalid=nullptr) constclang::Preprocessorinline
GetSuppressIncludeNotFoundError()clang::Preprocessorinline
getTargetInfo() constclang::Preprocessorinline
getTokenCount() constclang::Preprocessorinline
getTotalMemory() constclang::Preprocessor
getTUFPEvalMethod() constclang::Preprocessorinline
hadModuleLoaderFatalFailure() constclang::Preprocessorinline
HandleComment(Token &result, 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 &Identifier)clang::Preprocessor
HandlePragmaDependency(Token &DependencyTok)clang::Preprocessor
HandlePragmaHdrstop(Token &Tok)clang::Preprocessor
HandlePragmaIncludeAlias(Token &Tok)clang::Preprocessor
HandlePragmaMark(Token &MarkTok)clang::Preprocessor
HandlePragmaModuleBuild(Token &Tok)clang::Preprocessor
HandlePragmaOnce(Token &OnceTok)clang::Preprocessor
HandlePragmaPoison()clang::Preprocessor
HandlePragmaPopMacro(Token &Tok)clang::Preprocessor
HandlePragmaPushMacro(Token &Tok)clang::Preprocessor
HandlePragmaSystemHeader(Token &SysHeaderTok)clang::Preprocessor
HandleSkippedDirectiveWhileUsingPCH(Token &Result, SourceLocation HashLoc)clang::Preprocessor
hasRecordedPreamble() constclang::Preprocessorinline
IgnorePragmas()clang::Preprocessor
IncludedFilesSet typedefclang::Preprocessor
IncrementPasteCounter(bool isFast)clang::Preprocessorinline
Initialize(const TargetInfo &Target, const TargetInfo *AuxTarget=nullptr)clang::Preprocessor
InitializeForModelFile()clang::Preprocessor
isAtEndOfMacroExpansion(SourceLocation loc, SourceLocation *MacroEnd=nullptr) constclang::Preprocessorinline
isAtStartOfMacroExpansion(SourceLocation loc, SourceLocation *MacroBegin=nullptr) constclang::Preprocessorinline
isBacktrackEnabled() constclang::Preprocessorinline
isCodeCompletionEnabled() constclang::Preprocessorinline
isCodeCompletionReached() constclang::Preprocessorinline
isCurrentLexer(const PreprocessorLexer *L) constclang::Preprocessorinline
isIncrementalProcessingEnabled() constclang::Preprocessorinline
isInImplementationUnit() constclang::Preprocessorinline
isInImportingCXXNamedModules() constclang::Preprocessorinline
isInNamedInterfaceUnit() constclang::Preprocessorinline
isInNamedModule() constclang::Preprocessorinline
isInPrimaryFile() constclang::Preprocessor
isMacroDefined(StringRef Id)clang::Preprocessorinline
isMacroDefined(const IdentifierInfo *II)clang::Preprocessorinline
isMacroDefinedInLocalModule(const IdentifierInfo *II, Module *M)clang::Preprocessorinline
isParsingIfOrElifDirective() constclang::Preprocessorinline
isPCHThroughHeader(const FileEntry *FE)clang::Preprocessor
isPPInSafeBufferOptOutRegion()clang::Preprocessor
isPPInSafeBufferOptOutRegion(SourceLocation &StartLoc)clang::Preprocessor
isPreprocessedOutput() constclang::Preprocessorinline
IsPreviousCachedToken(const Token &Tok) constclang::Preprocessor
isRecordingPreamble() constclang::Preprocessorinline
isSafeBufferOptOut(const SourceManager &SourceMgr, const SourceLocation &Loc) constclang::Preprocessor
isUnannotatedBacktrackEnabled() constclang::Preprocessorinline
LeaveSubmodule(bool ForPragma)clang::Preprocessor
Lex(Token &Result)clang::Preprocessor
LexAfterModuleImport(Token &Result)clang::Preprocessor
LexEmbedParameters(Token &Current, bool ForHasEmbed)clang::Preprocessor
LexHeaderName(Token &Result, bool AllowMacroExpansion=true)clang::Preprocessor
LexNonComment(Token &Result)clang::Preprocessorinline
LexOnOffSwitch(tok::OnOffSwitch &Result)clang::Preprocessor
LexStringLiteral(Token &Result, std::string &String, const char *DiagnosticTag, bool AllowMacroExpansion)clang::Preprocessorinline
LexTokensUntilEOF(std::vector< Token > *Tokens=nullptr)clang::Preprocessor
LexUnexpandedNonComment(Token &Result)clang::Preprocessorinline
LexUnexpandedToken(Token &Result)clang::Preprocessorinline
LoadedRegionsclang::Preprocessor
LookAhead(unsigned N)clang::Preprocessorinline
LookupEmbedFile(StringRef Filename, bool isAngled, bool OpenFile, const FileEntry *LookupFromFile=nullptr)clang::Preprocessor
LookupFile(SourceLocation FilenameLoc, StringRef Filename, bool isAngled, ConstSearchDirIterator FromDir, const FileEntry *FromFile, ConstSearchDirIterator *CurDir, SmallVectorImpl< char > *SearchPath, SmallVectorImpl< char > *RelativePath, ModuleMap::KnownHeader *SuggestedModule, bool *IsMapped, bool *IsFrameworkFound, bool SkipCache=false, bool OpenFile=true, bool CacheFailures=true)clang::Preprocessor
LookUpIdentifierInfo(Token &Identifier) constclang::Preprocessor
macro_begin(bool IncludeExternalMacros=true) constclang::Preprocessor
macro_end(bool IncludeExternalMacros=true) constclang::Preprocessor
macro_iterator typedefclang::Preprocessor
MacroArgsclang::Preprocessorfriend
macros(bool IncludeExternalMacros=true) constclang::Preprocessorinline
makeModuleVisible(Module *M, SourceLocation Loc)clang::Preprocessor
markClangModuleAsAffecting(Module *M)clang::Preprocessorinline
markIncluded(FileEntryRef File)clang::Preprocessorinline
markMacroAsUsed(MacroInfo *MI)clang::Preprocessor
MaybeHandlePoisonedIdentifier(Token &Identifier)clang::Preprocessorinline
mightHavePendingAnnotationTokens()clang::Preprocessorinline
overrideMaxTokens(unsigned Value, SourceLocation Loc)clang::Preprocessorinline
ParsePragmaPushOrPopMacro(Token &Tok)clang::Preprocessor
parseSimpleIntegerLiteral(Token &Tok, uint64_t &Value)clang::Preprocessor
PoisonSEHIdentifiers(bool Poison=true)clang::Preprocessor
Preprocessor(std::shared_ptr< PreprocessorOptions > PPOpts, DiagnosticsEngine &diags, const LangOptions &LangOpts, SourceManager &SM, HeaderSearch &Headers, ModuleLoader &TheModuleLoader, IdentifierInfoLookup *IILookup=nullptr, bool OwnsHeaderSearch=false, TranslationUnitKind TUKind=TU_Complete)clang::Preprocessor
PrintStats()clang::Preprocessor
processPathForFileMacro(SmallVectorImpl< char > &Path, const LangOptions &LangOpts, const TargetInfo &TI)clang::Preprocessorstatic
processPathToFileName(SmallVectorImpl< char > &FileName, const PresumedLoc &PLoc, const LangOptions &LangOpts, const TargetInfo &TI)clang::Preprocessorstatic
recomputeCurLexerKind()clang::Preprocessor
removeCommentHandler(CommentHandler *Handler)clang::Preprocessor
RemovePragmaHandler(StringRef Namespace, PragmaHandler *Handler)clang::Preprocessor
RemovePragmaHandler(PragmaHandler *Handler)clang::Preprocessorinline
RemoveTopOfLexerStack()clang::Preprocessor
ReplaceLastTokenWithAnnotation(const Token &Tok)clang::Preprocessorinline
ReplacePreviousCachedToken(ArrayRef< Token > NewToks)clang::Preprocessor
RevertCachedTokens(unsigned N)clang::Preprocessorinline
SawDateOrTime() constclang::Preprocessorinline
serializeSafeBufferOptOutMap() constclang::Preprocessor
setCodeCompletionHandler(CodeCompletionHandler &Handler)clang::Preprocessorinline
setCodeCompletionIdentifierInfo(IdentifierInfo *Filter)clang::Preprocessorinline
SetCodeCompletionPoint(FileEntryRef File, unsigned Line, unsigned Column)clang::Preprocessor
setCodeCompletionReached()clang::Preprocessorinline
setCodeCompletionTokenRange(const SourceLocation Start, const SourceLocation End)clang::Preprocessorinline
SetCommentRetentionState(bool KeepComments, bool KeepMacroComments)clang::Preprocessorinline
setCounterValue(unsigned V)clang::Preprocessorinline
setCurrentFPEvalMethod(SourceLocation PragmaLoc, LangOptions::FPEvalMethodKind Val)clang::Preprocessorinline
setDeserializedSafeBufferOptOutMap(const SmallVectorImpl< SourceLocation > &SrcLocSeqs)clang::Preprocessor
setDiagnostics(DiagnosticsEngine &D)clang::Preprocessorinline
setEmptylineHandler(EmptylineHandler *Handler)clang::Preprocessorinline
setExternalSource(ExternalPreprocessorSource *Source)clang::Preprocessorinline
setLoadedMacroDirective(IdentifierInfo *II, MacroDirective *ED, MacroDirective *MD)clang::Preprocessor
SetMacroExpansionOnlyInDirectives()clang::Preprocessorinline
setMainFileDir(DirectoryEntryRef Dir)clang::Preprocessorinline
SetPoisonReason(IdentifierInfo *II, unsigned DiagID)clang::Preprocessor
setPragmaARCCFCodeAuditedInfo(IdentifierInfo *Ident, SourceLocation Loc)clang::Preprocessorinline
setPragmaAssumeNonNullLoc(SourceLocation Loc)clang::Preprocessorinline
setPragmasEnabled(bool Enabled)clang::Preprocessorinline
setPreambleRecordedPragmaAssumeNonNullLoc(SourceLocation Loc)clang::Preprocessorinline
setPredefines(std::string P)clang::Preprocessorinline
setPreprocessedOutput(bool IsPreprocessedOutput)clang::Preprocessorinline
setPreprocessToken(bool Preprocess)clang::Preprocessorinline
setRecordedPreambleConditionalStack(ArrayRef< PPConditionalInfo > s)clang::Preprocessorinline
setReplayablePreambleConditionalStack(ArrayRef< PPConditionalInfo > s, std::optional< PreambleSkipInfo > SkipInfo)clang::Preprocessorinline
setSkipMainFilePreamble(unsigned Bytes, bool StartOfLine)clang::Preprocessorinline
SetSuppressIncludeNotFoundError(bool Suppress)clang::Preprocessorinline
setTokenWatcher(llvm::unique_function< void(const clang::Token &)> F)clang::Preprocessorinline
setTUFPEvalMethod(LangOptions::FPEvalMethodKind Val)clang::Preprocessorinline
SkipTokensWhileUsingPCH()clang::Preprocessor
SplitToken(SourceLocation TokLoc, unsigned Length)clang::Preprocessor
TokenLexer::ExpandFunctionArgumentsclang::Preprocessorfriend
TUKindclang::Preprocessor
TypoCorrectToken(const Token &Tok)clang::Preprocessorinline
usingPCHWithPragmaHdrStop()clang::Preprocessor
usingPCHWithThroughHeader()clang::Preprocessor
VAOptDefinitionContextclang::Preprocessorfriend
VariadicMacroScopeGuardclang::Preprocessorfriend
~Preprocessor()clang::Preprocessor