aboutsummaryrefslogtreecommitdiffstats
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
commit920bda23699b3cf2088b867e028e1f997b16bb87 (patch)
treed6750144ad0a6505079ac3c084f95a01b99103cd
parent60f7b4d2a301ad02e2aee5174f65037d22d1d7e2 (diff)
downloadexternal_llvm-920bda23699b3cf2088b867e028e1f997b16bb87.zip
external_llvm-920bda23699b3cf2088b867e028e1f997b16bb87.tar.gz
external_llvm-920bda23699b3cf2088b867e028e1f997b16bb87.tar.bz2
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 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.