aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CodeGenTypes.cpp
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/CodeGenTypes.cpp
parenta75fa8aaf2005c6cb7561a9aa5129a38075939a4 (diff)
downloadsrc-ef2abedb8a769fd36f6bf297c7dca6ba0fd3671f.tar.gz
src-ef2abedb8a769fd36f6bf297c7dca6ba0fd3671f.zip
Vendor import of clang release_50 branch r312293:vendor/clang/clang-release_50-r312293
Notes
Notes: svn path=/vendor/clang/dist/; revision=323090 svn path=/vendor/clang/clang-release_50-r312293/; revision=323091; tag=vendor/clang/clang-release_50-r312293
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
-rw-r--r--lib/CodeGen/CodeGenTypes.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp
index 5ed929135880..9306c4fbaff8 100644
--- a/lib/CodeGen/CodeGenTypes.cpp
+++ b/lib/CodeGen/CodeGenTypes.cpp
@@ -44,6 +44,10 @@ CodeGenTypes::~CodeGenTypes() {
delete &*I++;
}
+const CodeGenOptions &CodeGenTypes::getCodeGenOpts() const {
+ return CGM.getCodeGenOpts();
+}
+
void CodeGenTypes::addRecordTypeName(const RecordDecl *RD,
llvm::StructType *Ty,
StringRef suffix) {