r182309 - Make this const since it never changes (and should never change).

Eric Christopher echristo at gmail.com
Mon May 20 12:59:06 PDT 2013


Author: echristo
Date: Mon May 20 14:59:06 2013
New Revision: 182309

URL: http://llvm.org/viewvc/llvm-project?rev=182309&view=rev
Log:
Make this const since it never changes (and should never change).

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.h

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.h?rev=182309&r1=182308&r2=182309&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.h (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.h Mon May 20 14:59:06 2013
@@ -48,7 +48,7 @@ namespace CodeGen {
 /// the backend.
 class CGDebugInfo {
   CodeGenModule &CGM;
-  CodeGenOptions::DebugInfoKind DebugKind;
+  const CodeGenOptions::DebugInfoKind DebugKind;
   llvm::DIBuilder DBuilder;
   llvm::DICompileUnit TheCU;
   SourceLocation CurLoc, PrevLoc;





More information about the cfe-commits mailing list