summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-16 00:06:06 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-16 00:06:06 +0000
commite0fbb83b8b132f6fd0a33467a082d16cc9ba4a8f (patch)
tree7d0cb0cc387455b71f68bfaef2a6a5609a1b6d2b /clang/lib/Frontend/CompilerInstance.cpp
parent55992564152f0fce6758a4495cc39422f5e1cc94 (diff)
downloadbcm5719-llvm-e0fbb83b8b132f6fd0a33467a082d16cc9ba4a8f.tar.gz
bcm5719-llvm-e0fbb83b8b132f6fd0a33467a082d16cc9ba4a8f.zip
Give SourceManager a Diagnostic object with which to report errors,
and start simplifying the interfaces in SourceManager that can fail. llvm-svn: 98594
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 25b804aba7f..c43118ce56b 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -185,7 +185,7 @@ void CompilerInstance::createFileManager() {
// Source Manager
void CompilerInstance::createSourceManager() {
- SourceMgr.reset(new SourceManager());
+ SourceMgr.reset(new SourceManager(getDiagnostics()));
}
// Preprocessor
OpenPOWER on IntegriCloud