diff options
author | Alp Toker <alp@nuanti.com> | 2014-07-06 05:26:44 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-07-06 05:26:44 +0000 |
commit | 80758084f70dbdaa4ca16661871215bacee0ab18 (patch) | |
tree | 6b8f303b64953d187cb79f3631f1c5a7cb3c6f14 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 269d840e40cdff7ff677fe11361af91e759ac1f1 (diff) | |
download | bcm5719-llvm-80758084f70dbdaa4ca16661871215bacee0ab18.tar.gz bcm5719-llvm-80758084f70dbdaa4ca16661871215bacee0ab18.zip |
Use non-intrusive refcounting for TargetOptions
llvm-svn: 212388
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index da663fe9be2..93799c8c43a 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -712,7 +712,8 @@ bool CompilerInstance::ExecuteAction(FrontendAction &Act) { raw_ostream &OS = llvm::errs(); // Create the target instance. - setTarget(TargetInfo::CreateTargetInfo(getDiagnostics(), &getTargetOpts())); + setTarget(TargetInfo::CreateTargetInfo(getDiagnostics(), + getInvocation().TargetOpts)); if (!hasTarget()) return false; |