Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit eecc3dc

Browse files
committed
Remove obsolete __clang__ check (and -D).
We've been all-clang, all the time for years now. Change-Id: I1296a762335e614529ffd92c2a6b26f87861361b
1 parent 75237ed commit eecc3dc

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

tests/Android.bp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -719,11 +719,6 @@ cc_defaults {
719719
],
720720
srcs: ["clang_fortify_tests.cpp"],
721721
tidy: false,
722-
target: {
723-
host: {
724-
cflags: ["-D__clang__"],
725-
},
726-
},
727722
}
728723

729724
cc_test_library {

tests/clang_fortify_tests.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
#ifndef __clang__
18-
#error "Non-clang isn't supported"
19-
#endif
20-
2117
//
2218
// Clang compile-time and run-time tests for Bionic's FORTIFY.
2319
//

0 commit comments

Comments
 (0)