From: Eric Christopher Date: Mon, 20 May 2013 19:59:06 +0000 (+0000) Subject: Make this const since it never changes (and should never change). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a7d82c4852dfd1e78f7ce7bdd94cc5eb1e4a0bc;p=clang Make this const since it never changes (and should never change). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182309 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 68fdbd9a8a..f19f750e60 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -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;