aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-06-08 16:43:26 +0200
committerNikita Popov <npopov@redhat.com>2023-06-08 17:52:20 +0200
commit066fb7a58c5a0dd518d0841ed8f32f86d9f798ec (patch)
tree71e6b096398f5cb30c8f2650340a5e13589d14a0 /clang/lib/CodeGen/CodeGenAction.cpp
parente4c1fa734ea7cd8f76f221e99cc727c18858183e (diff)
downloadllvm-066fb7a58c5a0dd518d0841ed8f32f86d9f798ec.zip
llvm-066fb7a58c5a0dd518d0841ed8f32f86d9f798ec.tar.gz
llvm-066fb7a58c5a0dd518d0841ed8f32f86d9f798ec.tar.bz2
[Clang] Remove -no-opaque-pointers cc1 flag
Migration of clang tests to opaque pointers is finished, so remove the -no-opaque-pointers flag. Differential Revision: https://reviews.llvm.org/D152447
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenAction.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp
index b93477f..4aa51e9 100644
--- a/clang/lib/CodeGen/CodeGenAction.cpp
+++ b/clang/lib/CodeGen/CodeGenAction.cpp
@@ -1047,8 +1047,6 @@ CodeGenAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
if (BA != Backend_EmitNothing && !OS)
return nullptr;
- VMContext->setOpaquePointers(CI.getCodeGenOpts().OpaquePointers);
-
// Load bitcode modules to link with, if we need to.
if (LinkModules.empty())
for (const CodeGenOptions::BitcodeFileToLink &F :
@@ -1106,8 +1104,6 @@ CodeGenAction::loadModule(MemoryBufferRef MBRef) {
CompilerInstance &CI = getCompilerInstance();
SourceManager &SM = CI.getSourceManager();
- VMContext->setOpaquePointers(CI.getCodeGenOpts().OpaquePointers);
-
// For ThinLTO backend invocations, ensure that the context
// merges types based on ODR identifiers. We also need to read
// the correct module out of a multi-module bitcode file.