[google/syzkaller] d4abbe: tools/clang/declextract: fix build with newer Clan...

0 views
Skip to first unread message

Ⲡⲟⲓⲙⲏⲛ Ⲅⲉⲱⲣⲅⲓⲟⲥ

unread,
Aug 4, 2026, 6:32:24 AM (6 days ago) Aug 4
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-7711-3c5eaa21b0dde97af48b7218aaad155b57ae3941
Home: https://github.com/google/syzkaller
Commit: d4abbeacd53add822a563e66a8ca9e64929b96ab
https://github.com/google/syzkaller/commit/d4abbeacd53add822a563e66a8ca9e64929b96ab
Author: Pimyn Girgis <pi...@google.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)

Changed paths:
M tools/clang/declextract/declextract.cpp

Log Message:
-----------
tools/clang/declextract: fix build with newer Clang versions

In newer versions of clang (see https://github.com/llvm/llvm-project/commit/6bb30c03650c9ebc816d089ea78b36a246116f07),
`clang/Basic/TypeTraits.h` was folded into `clang/Basic/BuiltinTraits.h`.

Use `__has_include` to include `clang/Basic/TypeTraits.h` when present, and fall back to `clang/Basic/BuiltinTraits.h`
to maintain compatibility across different Clang header versions.



To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Ⲡⲟⲓⲙⲏⲛ Ⲅⲉⲱⲣⲅⲓⲟⲥ

unread,
Aug 4, 2026, 6:44:44 AM (6 days ago) Aug 4
to syzk...@googlegroups.com
Branch: refs/heads/master
Reply all
Reply to author
Forward
0 new messages