forked from OSchip/llvm-project
[ADCE] Don't indent inside an anonymous namespace
To be consistent with what clang-format does, don't add extra indentation inside an anonymous namespace. NFC. llvm-svn: 229412
This commit is contained in:
parent
b8e668a52f
commit
c64150b8f3
|
@ -32,19 +32,18 @@ using namespace llvm;
|
|||
STATISTIC(NumRemoved, "Number of instructions removed");
|
||||
|
||||
namespace {
|
||||
struct ADCE : public FunctionPass {
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
ADCE() : FunctionPass(ID) {
|
||||
initializeADCEPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
struct ADCE : public FunctionPass {
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
ADCE() : FunctionPass(ID) {
|
||||
initializeADCEPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
|
||||
bool runOnFunction(Function& F) override;
|
||||
bool runOnFunction(Function& F) override;
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage& AU) const override {
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
|
||||
};
|
||||
void getAnalysisUsage(AnalysisUsage& AU) const override {
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
char ADCE::ID = 0;
|
||||
|
|
Loading…
Reference in New Issue