forked from OSchip/llvm-project
Remove unneeded ';' and a class/struct mismatch (noticed by clang).
llvm-svn: 90934
This commit is contained in:
parent
32c32892f7
commit
0d886ca091
|
@ -73,7 +73,7 @@ public:
|
|||
const ValueT& operator*() { return I->first; }
|
||||
const ValueT* operator->() { return &I->first; }
|
||||
|
||||
ConstIterator& operator++() { ++I; return *this; };
|
||||
ConstIterator& operator++() { ++I; return *this; }
|
||||
bool operator==(const ConstIterator& X) const { return I == X.I; }
|
||||
bool operator!=(const ConstIterator& X) const { return I != X.I; }
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace llvm {
|
|||
|
||||
class RecordVal;
|
||||
class BitsInit;
|
||||
class Init;
|
||||
struct Init;
|
||||
|
||||
class CodeEmitterGen : public TableGenBackend {
|
||||
RecordKeeper &Records;
|
||||
|
|
|
@ -445,7 +445,7 @@ struct PatternToMatch {
|
|||
const std::vector<Record*> &dstregs,
|
||||
unsigned complexity):
|
||||
Predicates(preds), SrcPattern(src), DstPattern(dst), Dstregs(dstregs),
|
||||
AddedComplexity(complexity) {};
|
||||
AddedComplexity(complexity) {}
|
||||
|
||||
ListInit *Predicates; // Top level predicate conditions to match.
|
||||
TreePatternNode *SrcPattern; // Source pattern to match.
|
||||
|
|
|
@ -162,7 +162,7 @@ private:
|
|||
|
||||
public:
|
||||
RegisterSorter(std::map<Record*, std::set<Record*>, LessRecord> &RS)
|
||||
: RegisterSubRegs(RS) {};
|
||||
: RegisterSubRegs(RS) {}
|
||||
|
||||
bool operator()(Record *RegA, Record *RegB) {
|
||||
// B is sub-register of A.
|
||||
|
|
Loading…
Reference in New Issue