forked from OSchip/llvm-project
Rename static struct Initializer to avoid name conflict with BB.
llvm-svn: 2831
This commit is contained in:
parent
4180fe41c2
commit
35bac4a658
|
@ -29,11 +29,11 @@ static Annotation *CreateMCFI(AnnotationID AID, const Annotable *, void *) {
|
|||
}
|
||||
|
||||
// Register the annotation with the annotation factory
|
||||
static struct Initializer {
|
||||
Initializer() {
|
||||
static struct MCFIInitializer {
|
||||
MCFIInitializer() {
|
||||
AnnotationManager::registerAnnotationFactory(MCFI_AID, &CreateMCFI);
|
||||
}
|
||||
} RegisterAID;
|
||||
} RegisterCreateMCFI;
|
||||
|
||||
|
||||
MachineCodeForInstruction&
|
||||
|
|
Loading…
Reference in New Issue