PassInfo(StringRef arg, StringRef description, const void *passID,
PassAllocatorFunction allocator)
: arg(arg), description(description), allocator(allocator),
- passID(passID){};
+ passID(passID) {}
/// Returns an allocated instance of this pass.
Pass *createPass() const {
/// GenInfo constructor should not be invoked directly, instead use
/// GenRegistration or registerGen.
GenInfo(StringRef arg, StringRef description, GenFunction generator)
- : arg(arg), description(description), generator(generator){};
+ : arg(arg), description(description), generator(generator) {}
/// Invokes the generator and returns whether the generator failed.
bool invoke(const llvm::RecordKeeper &recordKeeper, raw_ostream &os) const {
class Operator {
public:
explicit Operator(const llvm::Record &def);
- explicit Operator(const llvm::Record *def) : Operator(*def){};
+ explicit Operator(const llvm::Record *def) : Operator(*def) {}
// Returns the operation name.
StringRef getOperationName() const;
// Wrapper around dag argument.
struct DagArg {
- DagArg(Init *init) : init(init){};
+ DagArg(Init *init) : init(init) {}
bool isAttr();
Init *init;
static void emit(StringRef rewriteName, Record *p, raw_ostream &os);
private:
- Pattern(Record *pattern, raw_ostream &os) : pattern(pattern), os(os){};
+ Pattern(Record *pattern, raw_ostream &os) : pattern(pattern), os(os) {}
// Emit the rewrite pattern named `rewriteName`.
void emit(StringRef rewriteName);