This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Commit 61b629d
committed
libc: suppress libcxx's const-correct string overloads
libcxx checks for `defined(__CORRECT_ISO_CPP_STRING_H_PROTO)` before
defining const-correct overloads for common string.h functions. C
libraries should define this if they provide const-correct overloads.
Bug: None
Test: `clang -E` on a TU built with Bionic. No more const-correct
Test: overloads from libcxx.
Change-Id: I3d356c376f7845aadf1b5a56475863c9aea2eb4f1 parent 3f8d890 commit 61b629d
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
| |||
0 commit comments