Fix build: use -> with pointers and not .
authorMehdi Amini <mehdi.amini@apple.com>
Fri, 11 Mar 2016 17:32:58 +0000 (17:32 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Fri, 11 Mar 2016 17:32:58 +0000 (17:32 +0000)
Silly typo.

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 263267

clang/lib/CodeGen/CodeGenAction.cpp

index 0b76581..67945cd 100644 (file)
@@ -660,7 +660,7 @@ CodeGenAction::CodeGenAction(unsigned _Act, LLVMContext *_VMContext)
 #ifdef NDEBUG
   // FIXME: change this to be controlled by a cc1 flag that the driver passes,
   // on the model of --disable-free
-  _VMContext.setDiscardValueNames(true);
+  _VMContext->setDiscardValueNames(true);
 #endif
 }