#include "clang/Lex/LexDiagnostic.h"
#include "PreprocessorTracker.h"
#include "clang/Lex/MacroArgs.h"
#include "clang/Lex/PPCallbacks.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/Support/StringPool.h"
#include "llvm/Support/raw_ostream.h"
#include "ModularizeUtilities.h"
Go to the source code of this file.
|
static std::string | Modularize::getSourceLocationString (clang::Preprocessor &PP, clang::SourceLocation Loc) |
|
static std::string | Modularize::getSourceLocationFile (clang::Preprocessor &PP, clang::SourceLocation Loc) |
|
static void | Modularize::getSourceLocationLineAndColumn (clang::Preprocessor &PP, clang::SourceLocation Loc, int &Line, int &Column) |
|
static std::string | Modularize::getSourceString (clang::Preprocessor &PP, clang::SourceRange Range) |
|
static std::string | Modularize::getSourceLine (clang::Preprocessor &PP, clang::SourceLocation Loc) |
|
static std::string | Modularize::getSourceLine (clang::Preprocessor &PP, clang::FileID FileID, int Line) |
|
static std::string | Modularize::getMacroUnexpandedString (clang::SourceRange Range, clang::Preprocessor &PP, llvm::StringRef MacroName, const clang::MacroInfo *MI) |
|
static std::string | Modularize::getMacroExpandedString (clang::Preprocessor &PP, llvm::StringRef MacroName, const clang::MacroInfo *MI, const clang::MacroArgs *Args) |
|
◆ Column
◆ ConditionalExpansionInstances
std::vector<ConditionalExpansionInstance> ConditionalExpansionInstances |
◆ ConditionUnexpanded
StringHandle ConditionUnexpanded |
◆ ConditionValue
clang::PPCallbacks::ConditionValueKind ConditionValue |
◆ DefinitionLocation
PPItemKey DefinitionLocation |
◆ DefinitionSourceLine
StringHandle DefinitionSourceLine |
◆ DirectiveKind
clang::tok::PPKeywordKind DirectiveKind |
◆ File
◆ InclusionPathHandles
std::vector<InclusionPathHandle> InclusionPathHandles |
◆ InstanceSourceLine
StringHandle InstanceSourceLine |
◆ Line
◆ MacroExpanded
StringHandle MacroExpanded |
◆ MacroExpansionInstances
std::vector<MacroExpansionInstance> MacroExpansionInstances |
◆ MacroUnexpanded
StringHandle MacroUnexpanded |
◆ Name
◆ Path
std::vector<HeaderHandle> Path |
Definition at line 537 of file PreprocessorTracker.cpp.
Referenced by clang::pp_trace::PPCallbacksTracker::appendFilePathArgument(), clang::tidy::utils::cleanPath(), clang::doc::computeRelativePath(), clang::doc::genTypeReference(), getInfoOutputFile(), clang::doc::serialize::getInfoRelativePath(), clang::tidy::FileOptionsProvider::getRawOptions(), clang::move::ClangMoveTool::getUnremovedDeclsInOldHeader(), clang::find_all_symbols::Merge(), clang::move::ClangMoveTool::run(), and clang::find_all_symbols::SymbolInfo::SetFilePath().