C++20 introduced constraints, where concepts such as `std::integral` can be used to restrict template parameters: ``` template <std::integral T> int foo(T t); // Only accepts integral types. ``` Clang mangles these starting with a prefix `Tk`, followed by the concept name, which mangles as a type. For example, compare `foo` and `bar` here: https://godbolt.org/z/Kzbrrchde Note that this implementation doesn't cover the more complex case where the concept is templated too. See [llvm's implementation](https://github.com/llvm/llvm-project/commit/4b163e343cfa54c8d55c9da73c70d58f55ea9df2) and its tests for a thorough version. PiperOrigin-RevId: 604976260 Change-Id: Ic116c5f6f27c3f7714638bdee8de11dce871f0be
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| address_is_readable.cc | Loading commit data... | |
| address_is_readable.h | Loading commit data... | |
| demangle.cc | Loading commit data... | |
| demangle.h | Loading commit data... | |
| demangle_test.cc | Loading commit data... | |
| elf_mem_image.cc | Loading commit data... | |
| elf_mem_image.h | Loading commit data... | |
| examine_stack.cc | Loading commit data... | |
| examine_stack.h | Loading commit data... | |
| stack_consumption.cc | Loading commit data... | |
| stack_consumption.h | Loading commit data... | |
| stack_consumption_test.cc | Loading commit data... | |
| stacktrace_aarch64-inl.inc | Loading commit data... | |
| stacktrace_arm-inl.inc | Loading commit data... | |
| stacktrace_config.h | Loading commit data... | |
| stacktrace_emscripten-inl.inc | Loading commit data... | |
| stacktrace_generic-inl.inc | Loading commit data... | |
| stacktrace_powerpc-inl.inc | Loading commit data... | |
| stacktrace_riscv-inl.inc | Loading commit data... | |
| stacktrace_unimplemented-inl.inc | Loading commit data... | |
| stacktrace_win32-inl.inc | Loading commit data... | |
| stacktrace_x86-inl.inc | Loading commit data... | |
| symbolize.h | Loading commit data... | |
| vdso_support.cc | Loading commit data... | |
| vdso_support.h | Loading commit data... |