Skip to content

Commit

Permalink
Changes to remove warnings from OR1K Target Info
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcook committed Mar 26, 2014
1 parent 08f0ecb commit ddd5cb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Basic/Targets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,6 @@ namespace {
// OR1K abstract base class
class OR1KTargetInfo : public TargetInfo {
static const char * const GCCRegNames[];
static const TargetInfo::GCCRegAlias GCCRegAliases[];

public:
OR1KTargetInfo(const llvm::Triple &Triple) : TargetInfo(Triple) {
Expand Down Expand Up @@ -1627,7 +1626,7 @@ class OR1KTargetInfo : public TargetInfo {
/// OR1KTargetInfo::getTargetDefines - Return a set of the OR1K-specific
/// #defines that are not tied to a specific subtarget.
void OR1KTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
MacroBuilder &Builder) const {
// Target identification.
Builder.defineMacro("__or1k__");
Builder.defineMacro("__OR1K__");
Expand Down

0 comments on commit ddd5cb4

Please sign in to comment.