summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ABIInfo.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-09-01 16:29:06 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-09-01 16:29:06 +0000
commitef2abedb8a769fd36f6bf297c7dca6ba0fd3671f (patch)
treee9a6b5da4df35be0858459207ed982a777fd4d0a /lib/CodeGen/ABIInfo.h
parenta75fa8aaf2005c6cb7561a9aa5129a38075939a4 (diff)
Notes
Diffstat (limited to 'lib/CodeGen/ABIInfo.h')
-rw-r--r--lib/CodeGen/ABIInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/ABIInfo.h b/lib/CodeGen/ABIInfo.h
index e4dce2f2a004..575506da84d4 100644
--- a/lib/CodeGen/ABIInfo.h
+++ b/lib/CodeGen/ABIInfo.h
@@ -24,6 +24,7 @@ namespace llvm {
namespace clang {
class ASTContext;
+ class CodeGenOptions;
class TargetInfo;
namespace CodeGen {
@@ -68,6 +69,7 @@ namespace swiftcall {
llvm::LLVMContext &getVMContext() const;
const llvm::DataLayout &getDataLayout() const;
const TargetInfo &getTarget() const;
+ const CodeGenOptions &getCodeGenOpts() const;
/// Return the calling convention to use for system runtime
/// functions.