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

Commit 7b2c6d4

Browse files
enh-googleGerrit Code Review
authored andcommitted
Merge "Remove obsolete __clang__ check (and -D)." into main
2 parents d990f7d + eecc3dc commit 7b2c6d4

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)