Skip to content

Commit 624d467

Browse files
rupprechtcopybara-github
authored andcommitted
Add src/libcxx to paths that are assumed to be libc++ headers
PiperOrigin-RevId: 885175430
1 parent 9363767 commit 624d467

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infra/base-images/base-builder/indexer/coverage.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ static CoverageData* coverage_data;
3939

4040
bool IsStandardLibrary(const char* file_path) {
4141
return (strstr(file_path, "include/c++/v1") ||
42+
strstr(file_path, "src/libcxx/include") ||
43+
strstr(file_path, "src/libcxx/staging/include") ||
4244
strncmp(file_path, "/usr/include", 12) == 0 ||
4345
strstr(file_path, "libc++/src/include") ||
4446
strstr(file_path, "/absl/"));

0 commit comments

Comments
 (0)