aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
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 /include/llvm/Target
parent90bfc2d10520f9621309436c1c6928a59cd33616 (diff)
downloadexternal_llvm-9bb4ea03be6fbf2fadf4727e6fad95782cbbf25b.zip
external_llvm-9bb4ea03be6fbf2fadf4727e6fad95782cbbf25b.tar.gz
external_llvm-9bb4ea03be6fbf2fadf4727e6fad95782cbbf25b.tar.bz2
Missing 'public' keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-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 a8df7b3..26c4386 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.