summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-05-20 19:59:06 +0000
committerEric Christopher <echristo@gmail.com>2013-05-20 19:59:06 +0000
commitcbf5701f932b4500eb28262c334140928799d66d (patch)
treecef7dd02ce607c2f344bdf37bcf28eebcb26eaa6 /clang/lib/CodeGen
parent0bfafbaf52ca3a088bfb752ae795113071262c63 (diff)
downloadbcm5719-llvm-cbf5701f932b4500eb28262c334140928799d66d.tar.gz
bcm5719-llvm-cbf5701f932b4500eb28262c334140928799d66d.zip
Make this const since it never changes (and should never change).
llvm-svn: 182309
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index 68fdbd9a8a7..f19f750e60f 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/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;
OpenPOWER on IntegriCloud