Index: include/clang/Basic/TargetInfo.h |
diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h |
index 1d6485a56e9340f2e4382ce6a50132963792ff1b..4c801cfc0993455003e463c10d6dcd8a9ce3907c 100644 |
--- a/include/clang/Basic/TargetInfo.h |
+++ b/include/clang/Basic/TargetInfo.h |
@@ -778,6 +778,15 @@ public: |
virtual bool hasFeature(StringRef Feature) const { |
return false; |
} |
+ |
+ // @LOCALMOD-START |
+ /// Handle arguments passed to LLVM's option processing. |
+ /// |
+ /// \return False on error. |
+ virtual bool handleLLVMArgs(std::vector<std::string> &Args) { |
+ return true; |
+ } |
+ // @LOCALMOD-END |
// \brief Returns maximal number of args passed in registers. |
unsigned getRegParmMax() const { |