mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
Don't put static functions in anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8aa90feb3d
commit
fc232b08f3
@ -48,16 +48,12 @@ static RegisterPass<DwarfWriter>
|
||||
X("dwarfwriter", "DWARF Information Writer");
|
||||
char DwarfWriter::ID = 0;
|
||||
|
||||
namespace {
|
||||
|
||||
static TimerGroup *DwarfTimerGroup = 0;
|
||||
static TimerGroup *getDwarfTimerGroup() {
|
||||
if (DwarfTimerGroup) return DwarfTimerGroup;
|
||||
return DwarfTimerGroup = new TimerGroup("Dwarf Exception and Debugging");
|
||||
}
|
||||
|
||||
} // end anonymous namespace
|
||||
|
||||
namespace llvm {
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user