[cfe-commits] r107994 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Fri Jul 9 10:53:32 PDT 2010
Author: cornedbee
Date: Fri Jul 9 12:53:32 2010
New Revision: 107994
URL: http://llvm.org/viewvc/llvm-project?rev=107994&view=rev
Log:
Correctly initialize Reader to null.
Modified:
cfe/trunk/lib/Frontend/CompilerInstance.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=107994&r1=107993&r2=107994&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Fri Jul 9 12:53:32 2010
@@ -37,7 +37,7 @@
using namespace clang;
CompilerInstance::CompilerInstance()
- : Invocation(new CompilerInvocation()) {
+ : Invocation(new CompilerInvocation()), Reader(0) {
}
CompilerInstance::~CompilerInstance() {
More information about the cfe-commits
mailing list