projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2dec7d
)
This gets most of the backends building with HP HappyC++.
author
Duraid Madina
<duraid@octopus.com.au>
Tue, 27 Dec 2005 10:56:22 +0000
(10:56 +0000)
committer
Duraid Madina
<duraid@octopus.com.au>
Tue, 27 Dec 2005 10:56:22 +0000
(10:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25029
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/RegisterInfoEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/RegisterInfoEmitter.cpp
b/utils/TableGen/RegisterInfoEmitter.cpp
index 13a85f784fa34b9c05b86ae775da70fd9f1bc8f6..2f9a7dded5b2119fa8b4a77e471599bfea293cea 100644
(file)
--- a/
utils/TableGen/RegisterInfoEmitter.cpp
+++ b/
utils/TableGen/RegisterInfoEmitter.cpp
@@
-51,7
+51,8
@@
void RegisterInfoEmitter::runHeader(std::ostream &OS) {
const std::string &TargetName = Target.getName();
std::string ClassName = TargetName + "GenRegisterInfo";
- OS << "#include \"llvm/Target/MRegisterInfo.h\"\n\n";
+ OS << "#include \"llvm/Target/MRegisterInfo.h\"\n";
+ OS << "#include <string>\n\n";
OS << "namespace llvm {\n\n";