Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: include/clang/Basic/TargetInfo.h

Issue 1323073010: Use LLVM args to handle -malign-double option (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-clang.git@master
Patch Set: Review feedback addressed Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/clang/Basic/TargetOptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | include/clang/Basic/TargetOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698