diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h index 0afd6b47dba4e5e380a69cf291845ae384ddf6a9..6d09538b5c28940256e21227c8f08256269930dd 100644 --- a/include/clang/Basic/TargetInfo.h +++ b/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 {