[llvm-commits] [llvm] r43121 - /llvm/trunk/include/llvm/Target/TargetMachineRegistry.h

Gordon Henriksen gordonhenriksen at mac.com
Thu Oct 18 04:31:21 PDT 2007


Author: gordon
Date: Thu Oct 18 06:31:21 2007
New Revision: 43121

URL: http://llvm.org/viewvc/llvm-project?rev=43121&view=rev
Log:
Missing 'public' keyword.

Modified:
    llvm/trunk/include/llvm/Target/TargetMachineRegistry.h

Modified: llvm/trunk/include/llvm/Target/TargetMachineRegistry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachineRegistry.h?rev=43121&r1=43120&r2=43121&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetMachineRegistry.h (original)
+++ llvm/trunk/include/llvm/Target/TargetMachineRegistry.h Thu Oct 18 06:31:21 2007
@@ -48,7 +48,7 @@
     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.





More information about the llvm-commits mailing list