================ @@ -489,6 +490,8 @@ class SLocEntry { bool isExpansion() const { return IsExpansion; } bool isFile() const { return !isExpansion(); } + [[nodiscard]] bool isLoaded() const { return Loaded; } ---------------- vgvassilev wrote:
Do we need to add `[[nodiscard]]` to the interfaces in this PR? I'd remove them. https://github.com/llvm/llvm-project/pull/67960 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits