[llvm] [Support] Add clang tooling generated explicit visibility macros (PR #113097)

Thomas Fransham via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 12:33:25 PST 2024


================
@@ -157,7 +157,7 @@ class ErrorInfoBase {
 /// *All* Error instances must be checked before destruction, even if
 /// they're moved-assigned or constructed from Success values that have already
 /// been checked. This enforces checking through all levels of the call stack.
-class [[nodiscard]] Error {
+class LLVM_ABI [[nodiscard]] Error {
----------------
fsfod wrote:

I remember fixing this for functions where generalized attributes had to be first.

https://github.com/llvm/llvm-project/pull/113097


More information about the llvm-commits mailing list