diff options
| -rw-r--r-- | clang/include/clang/Basic/TargetInfo.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h index 0afd6b47dba..6d09538b5c2 100644 --- a/clang/include/clang/Basic/TargetInfo.h +++ b/clang/include/clang/Basic/TargetInfo.h @@ -636,9 +636,6 @@ public: } }; - // Validate the contents of the __builtin_cpu_supports(const char*) argument. - virtual bool validateCpuSupports(StringRef Name) const { return false; } - // validateOutputConstraint, validateInputConstraint - Checks that // a constraint is valid and provides information about it. // FIXME: These should return a real error instead of just true/false. @@ -817,6 +814,10 @@ public: virtual bool hasFeature(StringRef Feature) const { return false; } + + // \brief Validate the contents of the __builtin_cpu_supports(const char*) + // argument. + virtual bool validateCpuSupports(StringRef Name) const { return false; } // \brief Returns maximal number of args passed in registers. unsigned getRegParmMax() const { |

