summaryrefslogtreecommitdiff
path: root/utils/TableGen/RegisterInfoEmitter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-25 22:06:05 +0000
committerDan Gohman <gohman@apple.com>2008-03-25 22:06:05 +0000
commit950a4c40b823cd4f09dc71be635229246dfd6cac (patch)
treeff52517c682e08112a66247bc8b85f81664f72b3 /utils/TableGen/RegisterInfoEmitter.cpp
parentcfbb2f074da2842e42956d3b4c21e91b37f36f06 (diff)
downloadllvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.gz
llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.bz2
llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.xz
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/RegisterInfoEmitter.cpp')
-rw-r--r--utils/TableGen/RegisterInfoEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/RegisterInfoEmitter.cpp b/utils/TableGen/RegisterInfoEmitter.cpp
index 9577580e2a..2e19202caa 100644
--- a/utils/TableGen/RegisterInfoEmitter.cpp
+++ b/utils/TableGen/RegisterInfoEmitter.cpp
@@ -58,7 +58,7 @@ void RegisterInfoEmitter::runHeader(std::ostream &OS) {
OS << "namespace llvm {\n\n";
OS << "struct " << ClassName << " : public TargetRegisterInfo {\n"
- << " " << ClassName
+ << " explicit " << ClassName
<< "(int CallFrameSetupOpcode = -1, int CallFrameDestroyOpcode = -1);\n"
<< " virtual int getDwarfRegNumFull(unsigned RegNum, "
<< "unsigned Flavour) const;\n"