diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-09 02:58:09 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-09 02:58:09 +0000 |
commit | e854273892a5fed9a797ed58e472cca2e95fcc33 (patch) | |
tree | 15fc50d18f23bb7411b6b162a9953cc25c4bc411 /utils | |
parent | 55fe79f04441f8dc00f68f0920df608d3f245214 (diff) | |
download | external_llvm-e854273892a5fed9a797ed58e472cca2e95fcc33.zip external_llvm-e854273892a5fed9a797ed58e472cca2e95fcc33.tar.gz external_llvm-e854273892a5fed9a797ed58e472cca2e95fcc33.tar.bz2 |
Remove unneeded ';' and a class/struct mismatch (noticed by clang).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/CodeEmitterGen.h | 2 | ||||
-rw-r--r-- | utils/TableGen/CodeGenDAGPatterns.h | 2 | ||||
-rw-r--r-- | utils/TableGen/RegisterInfoEmitter.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/CodeEmitterGen.h b/utils/TableGen/CodeEmitterGen.h index ed6777d..2dc34ba 100644 --- a/utils/TableGen/CodeEmitterGen.h +++ b/utils/TableGen/CodeEmitterGen.h @@ -23,7 +23,7 @@ namespace llvm { class RecordVal; class BitsInit; -class Init; +struct Init; class CodeEmitterGen : public TableGenBackend { RecordKeeper &Records; diff --git a/utils/TableGen/CodeGenDAGPatterns.h b/utils/TableGen/CodeGenDAGPatterns.h index 398764b..c51232a 100644 --- a/utils/TableGen/CodeGenDAGPatterns.h +++ b/utils/TableGen/CodeGenDAGPatterns.h @@ -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. diff --git a/utils/TableGen/RegisterInfoEmitter.cpp b/utils/TableGen/RegisterInfoEmitter.cpp index bf0721e..fcf4123 100644 --- a/utils/TableGen/RegisterInfoEmitter.cpp +++ b/utils/TableGen/RegisterInfoEmitter.cpp @@ -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. |