forked from OSchip/llvm-project
Rename DiagnosticInfoWithDebugLoc to WithLocation to match LLVM
Updates for llvm r295465. llvm-svn: 295466
This commit is contained in:
parent
073f56dc1a
commit
e91e9dd7bb
|
@ -287,7 +287,7 @@ namespace clang {
|
||||||
/// Get the best possible source location to represent a diagnostic that
|
/// Get the best possible source location to represent a diagnostic that
|
||||||
/// may have associated debug info.
|
/// may have associated debug info.
|
||||||
const FullSourceLoc
|
const FullSourceLoc
|
||||||
getBestLocationFromDebugLoc(const llvm::DiagnosticInfoWithDebugLocBase &D,
|
getBestLocationFromDebugLoc(const llvm::DiagnosticInfoWithLocationBase &D,
|
||||||
bool &BadDebugInfo, StringRef &Filename,
|
bool &BadDebugInfo, StringRef &Filename,
|
||||||
unsigned &Line, unsigned &Column) const;
|
unsigned &Line, unsigned &Column) const;
|
||||||
|
|
||||||
|
@ -488,8 +488,8 @@ BackendConsumer::StackSizeDiagHandler(const llvm::DiagnosticInfoStackSize &D) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const FullSourceLoc BackendConsumer::getBestLocationFromDebugLoc(
|
const FullSourceLoc BackendConsumer::getBestLocationFromDebugLoc(
|
||||||
const llvm::DiagnosticInfoWithDebugLocBase &D, bool &BadDebugInfo, StringRef &Filename,
|
const llvm::DiagnosticInfoWithLocationBase &D, bool &BadDebugInfo,
|
||||||
unsigned &Line, unsigned &Column) const {
|
StringRef &Filename, unsigned &Line, unsigned &Column) const {
|
||||||
SourceManager &SourceMgr = Context->getSourceManager();
|
SourceManager &SourceMgr = Context->getSourceManager();
|
||||||
FileManager &FileMgr = SourceMgr.getFileManager();
|
FileManager &FileMgr = SourceMgr.getFileManager();
|
||||||
SourceLocation DILoc;
|
SourceLocation DILoc;
|
||||||
|
|
Loading…
Reference in New Issue