summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-02-19 23:03:58 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-02-19 23:03:58 +0000
commit8f5cf74c77e65847201cb7d0c894d2f7b78366be (patch)
treeceaf5459645a5b921ba48f56c0fa7c23c245b3be /clang/lib/CodeGen/TargetInfo.h
parent29eb47bd685d65d824e1c8fa303b8a1e8c6af39b (diff)
downloadbcm5719-llvm-8f5cf74c77e65847201cb7d0c894d2f7b78366be.tar.gz
bcm5719-llvm-8f5cf74c77e65847201cb7d0c894d2f7b78366be.zip
Re-instate r125819 and r125820 with no functionality change
llvm-svn: 126060
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.h')
-rw-r--r--clang/lib/CodeGen/TargetInfo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.h b/clang/lib/CodeGen/TargetInfo.h
index 9d4cf161030..4f59eb619e9 100644
--- a/clang/lib/CodeGen/TargetInfo.h
+++ b/clang/lib/CodeGen/TargetInfo.h
@@ -15,8 +15,11 @@
#ifndef CLANG_CODEGEN_TARGETINFO_H
#define CLANG_CODEGEN_TARGETINFO_H
+#include "llvm/ADT/StringRef.h"
+
namespace llvm {
class GlobalValue;
+ class Type;
class Value;
}
@@ -102,6 +105,12 @@ namespace clang {
llvm::Value *Address) const {
return Address;
}
+
+ virtual const llvm::Type* adjustInlineAsmType(CodeGen::CodeGenFunction &CGF,
+ llvm::StringRef Constraint,
+ const llvm::Type* Ty) const {
+ return Ty;
+ }
};
}
OpenPOWER on IntegriCloud