aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-16 23:50:41 +0000
committerEric Christopher <echristo@apple.com>2012-08-16 23:50:41 +0000
commita0dfca1f030b06c7f547238f63bfedc969994fcc (patch)
tree71d92494c3dbe4518526c89e0f9947753848b10b /lib/Basic/Targets.cpp
parent2502ec84432fc38db63b7f80d90fabf6ebd83039 (diff)
Add a missing 'break' to ensure that we reject inline assembly
constraints we don't recognize. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r--lib/Basic/Targets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index 883864fd9a..769f777dc8 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -3085,7 +3085,7 @@ public:
TargetInfo::ConstraintInfo &Info) const {
// FIXME: Check if this is complete
switch (*Name) {
- default:
+ default: break;
case 'l': // r0-r7
case 'h': // r8-r15
case 'w': // VFP Floating point register single precision