r203538 - De-virtualize a method since it doesn't override anything and isn't overridden itself.
Craig Topper
craig.topper at gmail.com
Mon Mar 10 21:07:53 PDT 2014
Author: ctopper
Date: Mon Mar 10 23:07:52 2014
New Revision: 203538
URL: http://llvm.org/viewvc/llvm-project?rev=203538&view=rev
Log:
De-virtualize a method since it doesn't override anything and isn't overridden itself.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=203538&r1=203537&r2=203538&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Mar 10 23:07:52 2014
@@ -5429,8 +5429,7 @@ public:
void getDefaultFeatures(llvm::StringMap<bool> &Features) const override {
}
- virtual void getArchDefines(const LangOptions &Opts,
- MacroBuilder &Builder) const {
+ void getArchDefines(const LangOptions &Opts, MacroBuilder &Builder) const {
Builder.defineMacro("__le32__");
Builder.defineMacro("__pnacl__");
}
More information about the cfe-commits
mailing list