aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-11-06 12:04:12 -0800
committerGitHub <noreply@github.com>2025-11-06 12:04:12 -0800
commitad723f940980d94ee72084571c9fb06e46659b76 (patch)
treec97b732cde777a023ad55640675eeaa8204ea34c /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
parent8d0df57340bee4eabe82c1c9c6604cefa4b5c299 (diff)
downloadllvm-ad723f940980d94ee72084571c9fb06e46659b76.zip
llvm-ad723f940980d94ee72084571c9fb06e46659b76.tar.gz
llvm-ad723f940980d94ee72084571c9fb06e46659b76.tar.bz2
[LLVM] Check if LLVM_ON_UNIX is Defined
This is canonical in the rest of the repository and otherwise we can end up with warnings when compiling with clang-cl on Windows that look like the following: ``` 2025-11-06T17:55:25.2412502Z C:\_work\llvm-project\llvm-project\llvm\include\llvm/Support/thread.h(37,5): warning: 'LLVM_ON_UNIX' is not defined, evaluates to 0 [-Wundef] 2025-11-06T17:55:25.2413436Z 37 | #if LLVM_ON_UNIX || _WIN32 2025-11-06T17:55:25.2413791Z | ^ 2025-11-06T17:55:25.2414625Z C:\_work\llvm-project\llvm-project\llvm\include\llvm/Support/thread.h(52,5): warning: 'LLVM_ON_UNIX' is not defined, evaluates to 0 [-Wundef] 2025-11-06T17:55:25.2415585Z 52 | #if LLVM_ON_UNIX 2025-11-06T17:55:25.2415901Z | ^ 2025-11-06T17:55:25.2416169Z 2 warnings generated. ``` Reviewers: joker-eph, pcc, cachemeifyoucan Reviewed By: cachemeifyoucan Pull Request: https://github.com/llvm/llvm-project/pull/166827
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces')
0 files changed, 0 insertions, 0 deletions