Rename static struct Initializer to avoid name conflict with BB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2831 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineCodeForInstruction.cpp b/lib/CodeGen/MachineCodeForInstruction.cpp
index 98871a7..f21e016 100644
--- a/lib/CodeGen/MachineCodeForInstruction.cpp
+++ b/lib/CodeGen/MachineCodeForInstruction.cpp
@@ -29,11 +29,11 @@
}
// Register the annotation with the annotation factory
-static struct Initializer {
- Initializer() {
+static struct MCFIInitializer {
+ MCFIInitializer() {
AnnotationManager::registerAnnotationFactory(MCFI_AID, &CreateMCFI);
}
-} RegisterAID;
+} RegisterCreateMCFI;
MachineCodeForInstruction&