diff options
author | Justin Bogner <mail@justinbogner.com> | 2017-02-17 17:34:49 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2017-02-17 17:34:49 +0000 |
commit | e91e9dd7bb95bd34fa871300be807b5870170dc6 (patch) | |
tree | 14748fb10c9db7f25cac4d81d03d1a3e28e86ea1 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 073f56dc1af470c2a47c564c3aa95bebfad75116 (diff) | |
download | bcm5719-llvm-e91e9dd7bb95bd34fa871300be807b5870170dc6.tar.gz bcm5719-llvm-e91e9dd7bb95bd34fa871300be807b5870170dc6.zip |
Rename DiagnosticInfoWithDebugLoc to WithLocation to match LLVM
Updates for llvm r295465.
llvm-svn: 295466
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenAction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index 89a7c7c727b..c7604145619 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -287,7 +287,7 @@ namespace clang { /// Get the best possible source location to represent a diagnostic that /// may have associated debug info. const FullSourceLoc - getBestLocationFromDebugLoc(const llvm::DiagnosticInfoWithDebugLocBase &D, + getBestLocationFromDebugLoc(const llvm::DiagnosticInfoWithLocationBase &D, bool &BadDebugInfo, StringRef &Filename, unsigned &Line, unsigned &Column) const; @@ -488,8 +488,8 @@ BackendConsumer::StackSizeDiagHandler(const llvm::DiagnosticInfoStackSize &D) { } const FullSourceLoc BackendConsumer::getBestLocationFromDebugLoc( - const llvm::DiagnosticInfoWithDebugLocBase &D, bool &BadDebugInfo, StringRef &Filename, - unsigned &Line, unsigned &Column) const { + const llvm::DiagnosticInfoWithLocationBase &D, bool &BadDebugInfo, + StringRef &Filename, unsigned &Line, unsigned &Column) const { SourceManager &SourceMgr = Context->getSourceManager(); FileManager &FileMgr = SourceMgr.getFileManager(); SourceLocation DILoc; |