mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a7fbb1927
commit
793a52967b
@ -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…
x
Reference in New Issue
Block a user