================ @@ -157,6 +157,25 @@ #define LLVM_DEPRECATED(MSG, FIX) [[deprecated(MSG)]] #endif +// clang-format off +#if defined(__clang__) || defined(__GNUC__) +#define LLVM_IGNORE_DEPRECATIONS_OF_DECLARATIONS_BEGIN \ ---------------- jansvoboda11 wrote:
OK, I used the suggested naming, but added `DECLARATIONS` to distinguish from semantics of the libc++ version that also ignores `-Wdeprecated`, which I don't want to (and I'm not sure there's an MSVC counterpart). I left this in `Compiler.h`, since this might be useful in other parts of LLVM and for downstream projects that have extra usages of `FileEntry::getName()`. https://github.com/llvm/llvm-project/pull/68157 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits