mizvekov wrote: > Seems like `getOriginalDecl()` always returns the full definition for > enumerations (and not an opaque declaration for enums with fixed underlying > type), at least in the C language mode. Is it guaranteed?
I don't see that happening. Example: https://compiler-explorer.com/z/z9cMxPWva https://github.com/llvm/llvm-project/pull/147835 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits