summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYuka Takahashi <yukatkh@gmail.com>2017-07-01 07:57:23 +0000
committerYuka Takahashi <yukatkh@gmail.com>2017-07-01 07:57:23 +0000
commitdc771509a45f6a3e9d2553996ce55dbcf93bff3b (patch)
treeba09114ac3ecce9391efccf7acd506018a60e6e8 /clang/lib/Frontend/CompilerInvocation.cpp
parentef1c2ba22a8dd8d56f4281d36e5a241c671084a2 (diff)
downloadbcm5719-llvm-dc771509a45f6a3e9d2553996ce55dbcf93bff3b.tar.gz
bcm5719-llvm-dc771509a45f6a3e9d2553996ce55dbcf93bff3b.zip
Changed Opts.EABIVersion type string to llvm::EABI enum class
Summary: Changed EABIVersion type from string to llvm::EABI. It seems it was just a typo and this is intended implementation. Differential Revision: https://reviews.llvm.org/D34595 llvm-svn: 306953
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 5851595dab7..00f6b9b46f0 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -2568,7 +2568,7 @@ static void ParseTargetArgs(TargetOptions &Opts, ArgList &Args,
Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args)
<< Value;
else
- Opts.EABIVersion = Value;
+ Opts.EABIVersion = EABIVersion;
}
Opts.CPU = Args.getLastArgValue(OPT_target_cpu);
Opts.FPMath = Args.getLastArgValue(OPT_mfpmath);
OpenPOWER on IntegriCloud