From a425589feac540f1792d2e698c1cb0103ba1ec86 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 22 May 2012 17:19:45 +0000 Subject: wire -fbounds-checking to the new LLVM bounds checking pass llvm-svn: 157262 --- clang/lib/CodeGen/CodeGenFunction.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 5d108be..dfb04b4 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -41,7 +41,6 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm) CXXVTTValue(0), OutermostConditional(0), TerminateLandingPad(0), TerminateHandler(0), TrapBB(0) { - BoundsChecking = getContext().getLangOpts().BoundsChecking; CatchUndefined = getContext().getLangOpts().CatchUndefined; CGM.getCXXABI().getMangleContext().startNewFunction(); } -- cgit v1.1