aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorAndrew Rogers <andrurogerz@gmail.com>2025-07-22 15:19:53 -0700
committerGitHub <noreply@github.com>2025-07-22 15:19:53 -0700
commitefbe98db0029a97109ec0b4db51f46af1ce8e581 (patch)
tree057c75d1aabb171611039172dbca39d7e68de145 /llvm/lib/CodeGen/StackProtector.cpp
parent5eecbc018bfdf6f262647de739f35230596a1b8f (diff)
downloadllvm-efbe98db0029a97109ec0b4db51f46af1ce8e581.zip
llvm-efbe98db0029a97109ec0b4db51f46af1ce8e581.tar.gz
llvm-efbe98db0029a97109ec0b4db51f46af1ce8e581.tar.bz2
[llvm] simplify and clean-up DemangleConfig.h (#149163)
## Purpose Simplify `DEMANGLE_` macro definitions in `llvm/Demangle/DemangleConfig.h` for clarity/maintainability. ## Overview * Alias `DEMANGLE_DUMP_METHOD`, `DEMANGLE_FALLTHROUGH`, and `DEMANGLE_UNREACHABLE` macros to their `LLVM_` counterparts defined in `llvm/Support/Compiler.h` * Remove several `DEMANGLE_`-prefixed macros that were only used within `DemangleConfig.h` ## Background * It should be safe for the `Demangle` component library to depend on `Support`, so there is no need for it to maintain copies of macros defined in `llvm/Support/Compiler.h`. * Since the canonical copy `llvm/Demangle/ItaniumDemangle.h` lives under `libcxxabi`, it cannot directly reference the `LLVM_`-prefixed macros so we define `DEMANGLE_`-prefixed aliases. ## Validation * Built llvm-project on Windows with `clang-cl` and MSVC `cl`. * Built llvm-project on Linux with `clang` and `gcc`.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions