[clang] Avoid need for SLocEntryLoaded BitVector (PR #67960)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 2 13:23:32 PDT 2023
================
@@ -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
More information about the cfe-commits
mailing list