]> granicus.if.org Git - clang/commitdiff
Make this const since it never changes (and should never change).
authorEric Christopher <echristo@gmail.com>
Mon, 20 May 2013 19:59:06 +0000 (19:59 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 20 May 2013 19:59:06 +0000 (19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182309 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.h

index 68fdbd9a8a78746df7cc8ca22cb28a901997b921..f19f750e60fc87b7d5e970c7f0e39d5b631f4bc1 100644 (file)
@@ -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;