Missing 'public' keyword.
authorGordon Henriksen <gordonhenriksen@mac.com>
Thu, 18 Oct 2007 11:31:21 +0000 (11:31 +0000)
committerGordon Henriksen <gordonhenriksen@mac.com>
Thu, 18 Oct 2007 11:31:21 +0000 (11:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43121 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachineRegistry.h

index a8df7b3f8263156079a4e0e1fd800edd530ded15..26c4386219f883e9e61c7c76a5481574d072d83e 100644 (file)
@@ -48,7 +48,7 @@ namespace llvm {
     static const char *descof(const entry &Entry) { return Entry.ShortDesc; }
   };
 
-  struct TargetMachineRegistry : Registry<TargetMachine> {
+  struct TargetMachineRegistry : public Registry<TargetMachine> {
     /// getClosestStaticTargetForModule - Given an LLVM module, pick the best
     /// target that is compatible with the module.  If no close target can be
     /// found, this returns null and sets the Error string to a reason.