aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-10-18 11:31:21 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-10-18 11:31:21 +0000
commit9bb4ea03be6fbf2fadf4727e6fad95782cbbf25b (patch)
treed6750144ad0a6505079ac3c084f95a01b99103cd
parent90bfc2d10520f9621309436c1c6928a59cd33616 (diff)
Missing 'public' keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43121 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetMachineRegistry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetMachineRegistry.h b/include/llvm/Target/TargetMachineRegistry.h
index a8df7b3f82..26c4386219 100644
--- a/include/llvm/Target/TargetMachineRegistry.h
+++ b/include/llvm/Target/TargetMachineRegistry.h
@@ -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.