summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2010-07-09 17:53:32 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2010-07-09 17:53:32 +0000
commit60876431b11e7033babc7b9ed72dc88075106781 (patch)
tree27e3398ad0b86c73e42e711a5c5c2381c5529e76 /clang/lib
parentf525a30d19e79156642a43a39ddeb99e9c5b7068 (diff)
downloadbcm5719-llvm-60876431b11e7033babc7b9ed72dc88075106781.tar.gz
bcm5719-llvm-60876431b11e7033babc7b9ed72dc88075106781.zip
Correctly initialize Reader to null.
llvm-svn: 107994
Diffstat (limited to 'clang/lib')
-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 fa5338d30e6..5037c83556a 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -37,7 +37,7 @@
using namespace clang;
CompilerInstance::CompilerInstance()
- : Invocation(new CompilerInvocation()) {
+ : Invocation(new CompilerInvocation()), Reader(0) {
}
CompilerInstance::~CompilerInstance() {
OpenPOWER on IntegriCloud