]> granicus.if.org Git - clang/commitdiff
Add a fixme to handleTargetFeatures.
authorEric Christopher <echristo@gmail.com>
Fri, 9 Oct 2015 20:30:48 +0000 (20:30 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 9 Oct 2015 20:30:48 +0000 (20:30 +0000)
The goal of wanting this to avoid munging the feature list is so
that it can be used for various targets as a way of both adding
and verifying the features that are going to be output into the
IR.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249894 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/TargetInfo.h

index d5bccf16603d5dcd8943a298b44a70e849665b0d..4b82e9a7ce5b877908b8a252788277923214ca40 100644 (file)
@@ -801,6 +801,8 @@ public:
   ///
   /// The target may modify the features list, to change which options are
   /// passed onwards to the backend.
+  /// FIXME: This part should be fixed so that we can change handleTargetFeatures
+  /// to merely a TargetInfo initialization routine.
   ///
   /// \return  False on error.
   virtual bool handleTargetFeatures(std::vector<std::string> &Features,