projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove several unused variables.
[oota-llvm.git]
/
utils
/
TableGen
/
SetTheory.h
diff --git
a/utils/TableGen/SetTheory.h
b/utils/TableGen/SetTheory.h
index b394058f4c35a6152bd40955fa5d5b7d10a611e4..5baed79fb76a6981af44aed0b1cc3f3615f2eeb2 100644
(file)
--- a/
utils/TableGen/SetTheory.h
+++ b/
utils/TableGen/SetTheory.h
@@
-47,8
+47,9
@@
#ifndef SETTHEORY_H
#define SETTHEORY_H
#ifndef SETTHEORY_H
#define SETTHEORY_H
-#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SetVector.h"
+#include "llvm/ADT/StringMap.h"
+#include "llvm/Support/SourceMgr.h"
#include <map>
#include <vector>
#include <map>
#include <vector>
@@
-72,7
+73,8
@@
public:
/// apply - Apply this operator to Expr's arguments and insert the result
/// in Elts.
/// apply - Apply this operator to Expr's arguments and insert the result
/// in Elts.
- virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts) =0;
+ virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts,
+ ArrayRef<SMLoc> Loc) =0;
};
/// Expander - A callback function that can transform a Record representing a
};
/// Expander - A callback function that can transform a Record representing a
@@
-119,13
+121,13
@@
public:
void addOperator(StringRef Name, Operator*);
/// evaluate - Evaluate Expr and append the resulting set to Elts.
void addOperator(StringRef Name, Operator*);
/// evaluate - Evaluate Expr and append the resulting set to Elts.
- void evaluate(Init *Expr, RecSet &Elts);
+ void evaluate(Init *Expr, RecSet &Elts
, ArrayRef<SMLoc> Loc
);
/// evaluate - Evaluate a sequence of Inits and append to Elts.
template<typename Iter>
/// evaluate - Evaluate a sequence of Inits and append to Elts.
template<typename Iter>
- void evaluate(Iter begin, Iter end, RecSet &Elts) {
+ void evaluate(Iter begin, Iter end, RecSet &Elts
, ArrayRef<SMLoc> Loc
) {
while (begin != end)
while (begin != end)
- evaluate(*begin++, Elts);
+ evaluate(*begin++, Elts
, Loc
);
}
/// expand - Expand a record into a set of elements if possible. Return a
}
/// expand - Expand a record into a set of elements if possible. Return a