summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Enye Shi <enye.shi@gmail.com>2018-06-26 17:12:29 +0000
committerAaron Enye Shi <enye.shi@gmail.com>2018-06-26 17:12:29 +0000
commit4928d51791008943875bbae556369afe7ee96e4e (patch)
treeac3afbcbecdc6d8b6971d6445689d8c711d15e40
parent1576df53a99cc2997573c352adae9d658ec2ee4d (diff)
downloadbcm5719-llvm-4928d51791008943875bbae556369afe7ee96e4e.tar.gz
bcm5719-llvm-4928d51791008943875bbae556369afe7ee96e4e.zip
[Test] Initial test commit access
llvm-svn: 335630
-rw-r--r--clang/lib/Driver/ToolChains/HIP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/ToolChains/HIP.cpp b/clang/lib/Driver/ToolChains/HIP.cpp
index 8514aa6481d..0f6fb2d309d 100644
--- a/clang/lib/Driver/ToolChains/HIP.cpp
+++ b/clang/lib/Driver/ToolChains/HIP.cpp
@@ -254,7 +254,7 @@ HIPToolChain::TranslateArgs(const llvm::opt::DerivedArgList &Args,
for (Arg *A : Args) {
if (A->getOption().matches(options::OPT_Xarch__)) {
- // Skip this argument unless the architecture matches BoundArch
+ // Skip this argument unless the architecture matches BoundArch.
if (BoundArch.empty() || A->getValue(0) != BoundArch)
continue;
OpenPOWER on IntegriCloud