]> granicus.if.org Git - clang/commitdiff
Disallow arbitrary custom inline asm constraints for msp430.
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 15 Oct 2009 23:17:13 +0000 (23:17 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 15 Oct 2009 23:17:13 +0000 (23:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84219 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 1d4d1235c963415b017c50b0c12998888d02b8ce..5337615306964964890446e596de842b30512a9f 100644 (file)
@@ -1573,8 +1573,8 @@ namespace {
     }
     virtual bool validateAsmConstraint(const char *&Name,
                                        TargetInfo::ConstraintInfo &info) const {
-      // FIXME: implement
-      return true;
+      // No target constraints for now.
+      return false;
     }
     virtual const char *getClobbers() const {
       // FIXME: Is this really right?