mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +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");
|
X("dwarfwriter", "DWARF Information Writer");
|
||||||
char DwarfWriter::ID = 0;
|
char DwarfWriter::ID = 0;
|
||||||
|
|
||||||
namespace {
|
|
||||||
|
|
||||||
static TimerGroup *DwarfTimerGroup = 0;
|
static TimerGroup *DwarfTimerGroup = 0;
|
||||||
static TimerGroup *getDwarfTimerGroup() {
|
static TimerGroup *getDwarfTimerGroup() {
|
||||||
if (DwarfTimerGroup) return DwarfTimerGroup;
|
if (DwarfTimerGroup) return DwarfTimerGroup;
|
||||||
return DwarfTimerGroup = new TimerGroup("Dwarf Exception and Debugging");
|
return DwarfTimerGroup = new TimerGroup("Dwarf Exception and Debugging");
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end anonymous namespace
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user