summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-13 05:51:54 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-13 05:51:54 +0000
commit1b4441915ab4dde5625e08c3e41c9c4b5e0806e9 (patch)
tree7ddc18770cc84d6bd0581b15a08c855bc42a7bf0 /clang/lib/CodeGen/CGStmt.cpp
parent1721ef7a535a1e98bbcd1b72ea5b393e676def2c (diff)
downloadbcm5719-llvm-1b4441915ab4dde5625e08c3e41c9c4b5e0806e9.tar.gz
bcm5719-llvm-1b4441915ab4dde5625e08c3e41c9c4b5e0806e9.zip
Wherein the TargetInfo argument to Preprocessor is made 'const' and propogated.
llvm-svn: 87087
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index b47930e3137..b6d7b399045 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -737,7 +737,7 @@ void CodeGenFunction::EmitSwitchStmt(const SwitchStmt &S) {
}
static std::string
-SimplifyConstraint(const char *Constraint, TargetInfo &Target,
+SimplifyConstraint(const char *Constraint, const TargetInfo &Target,
llvm::SmallVectorImpl<TargetInfo::ConstraintInfo> *OutCons=0) {
std::string Result;
OpenPOWER on IntegriCloud