Skip to content

Commit 915ebb0

Browse files
committed
[driver] Address missed feedback from https://reviews.llvm.org/D158476
I missed this before I committed.
1 parent 58288c6 commit 915ebb0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ Android Support
346346

347347
- Android target triples are usually suffixed with a version. Clang searches for
348348
target-specific runtime and standard libraries in directories named after the
349-
target (e.g. if you're building with ``-target aarch64-none-linux-android21``,
349+
target (e.g. if you're building with ``--target=aarch64-none-linux-android21``,
350350
Clang will look for ``lib/aarch64-none-linux-android21`` under its resource
351351
directory to find runtime libraries). If an exact match isn't found, Clang
352352
would previously fall back to a directory without any version (which would be

clang/test/Driver/android-unversioned-fallback-warning.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@
1111
// RUN: mkdir -p %t/resource/lib/aarch64-none-linux-android23
1212

1313
// Using an unversioned directory for an unversioned triple isn't a warning.
14-
// RUN: %clang -target aarch64-none-linux-android -ccc-install-dir %t/bin \
14+
// RUN: %clang --target=aarch64-none-linux-android -ccc-install-dir %t/bin \
1515
// RUN: -resource-dir %t/resource -### -c %s 2>&1 | \
1616
// RUN: FileCheck --check-prefix=NO-WARNING %s
1717
// NO-WARNING-NOT: Using unversioned Android target directory
1818

19-
// RUN: %clang -target aarch64-none-linux-android21 -ccc-install-dir %t/bin \
19+
// RUN: %clang --target=aarch64-none-linux-android21 -ccc-install-dir %t/bin \
2020
// RUN: -resource-dir %t/resource -### -c %s 2>&1 | \
2121
// RUN: FileCheck --check-prefix=ANDROID21 -DDIR=%t -DSEP=%{fs-sep} %s
2222
// ANDROID21-DAG: Using unversioned Android target directory [[DIR]]/bin[[SEP]]..[[SEP]]include[[SEP]]aarch64-none-linux-android
2323
// ANDROID21-DAG: Using unversioned Android target directory [[DIR]]/bin[[SEP]]..[[SEP]]lib[[SEP]]aarch64-none-linux-android
2424
// ANDROID21-DAG: Using unversioned Android target directory [[DIR]]/resource[[SEP]]lib[[SEP]]aarch64-none-linux-android
2525

2626
// 23 or newer should use the versioned directory
27-
// RUN: %clang -target aarch64-none-linux-android23 -ccc-install-dir %t/bin \
27+
// RUN: %clang --target=aarch64-none-linux-android23 -ccc-install-dir %t/bin \
2828
// RUN: -resource-dir %t/resource -### -c %s 2>&1 | \
2929
// RUN: FileCheck --check-prefix=NO-WARNING %s
3030

31-
// RUN: %clang -target aarch64-none-linux-android28 -ccc-install-dir %t/bin \
31+
// RUN: %clang --target=aarch64-none-linux-android28 -ccc-install-dir %t/bin \
3232
// RUN: -resource-dir %t/resource -### -c %s 2>&1 | \
3333
// RUN: FileCheck --check-prefix=NO-WARNING %s

0 commit comments

Comments
 (0)