aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-07-09 13:17:36 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-07-09 13:17:36 +0000
commit8cc948d2288da5c89f1de5208f49bb95c1813c21 (patch)
tree95a6821a7391b45d375af6097bfc09e9b06bc296 /lib
parentbeb9d409006abd85ab7a9c1632fdb1d6ad9e6cdd (diff)
downloadexternal_llvm-8cc948d2288da5c89f1de5208f49bb95c1813c21.zip
external_llvm-8cc948d2288da5c89f1de5208f49bb95c1813c21.tar.gz
external_llvm-8cc948d2288da5c89f1de5208f49bb95c1813c21.tar.bz2
Constify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/TargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp
index cda939c..404e152 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -194,7 +194,7 @@ TargetAsmInfo::SectionKindForGlobal(const GlobalValue *GV) const {
unsigned
TargetAsmInfo::SectionFlagsForGlobal(const GlobalValue *GV,
- const char* name) {
+ const char* name) const {
unsigned flags = SectionFlags::None;
// Decode flags from global itself.