[PATCH] D19189: Expose the list of available features in MCSubtargetInfo

Johan Engelen via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 16 05:20:25 PDT 2016


johanengelen added inline comments.

================
Comment at: include/llvm/MC/MCSubtargetInfo.h:85
@@ +84,3 @@
+  /// are enabled for the current CPU.
+  ArrayRef<SubtargetFeatureKV> getProcFeatures() const {
+    return ProcFeatures;
----------------
Should the return type be `const`?


http://reviews.llvm.org/D19189





More information about the llvm-commits mailing list