build: Updated to Clang 7.0.0
This commit is contained in:
@@ -50,7 +50,7 @@ void PreprocessorCallbacks::FileChanged(
|
||||
void PreprocessorCallbacks::InclusionDirective(
|
||||
clang::SourceLocation hashLocation, const clang::Token& includeToken, llvm::StringRef fileName, bool isAngled,
|
||||
clang::CharSourceRange fileNameRange, const clang::FileEntry* fileEntry, llvm::StringRef searchPath,
|
||||
llvm::StringRef relativePath, const clang::Module* imported
|
||||
llvm::StringRef relativePath, const clang::Module* imported, clang::SrcMgr::CharacteristicKind fileType
|
||||
){
|
||||
if (m_currentFileSymbolId && fileEntry)
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
void InclusionDirective(
|
||||
clang::SourceLocation hashLocation, const clang::Token& includeToken, llvm::StringRef fileName, bool isAngled,
|
||||
clang::CharSourceRange fileNameRange, const clang::FileEntry* fileEntry, llvm::StringRef searchPath,
|
||||
llvm::StringRef relativePath, const clang::Module* imported) override;
|
||||
llvm::StringRef relativePath, const clang::Module* imported, clang::SrcMgr::CharacteristicKind fileType) override;
|
||||
|
||||
void MacroDefined(const clang::Token& macroNameToken, const clang::MacroDirective* macroDirective) override;
|
||||
void MacroUndefined(
|
||||
|
||||
@@ -204,7 +204,7 @@ ParseLocation utility::getParseLocation(
|
||||
sourceManager.isMacroBodyExpansion(range.getEnd())
|
||||
)
|
||||
){
|
||||
range = sourceManager.getExpansionRange(sourceRange);
|
||||
range = sourceManager.getExpansionRange(sourceRange).getAsRange();
|
||||
if (range.isValid())
|
||||
{
|
||||
endLoc = preprocessor->getLocForEndOfToken(range.getBegin());
|
||||
|
||||
Reference in New Issue
Block a user