summaryrefslogtreecommitdiff
path: root/include/clang/Basic/XRayInstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/XRayInstr.h')
-rw-r--r--include/clang/Basic/XRayInstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/XRayInstr.h b/include/clang/Basic/XRayInstr.h
index 13c3032a5ccab..6efefcb33ac87 100644
--- a/include/clang/Basic/XRayInstr.h
+++ b/include/clang/Basic/XRayInstr.h
@@ -60,6 +60,8 @@ struct XRayInstrSet {
bool empty() const { return Mask == 0; }
+ bool full() const { return Mask == XRayInstrKind::All; }
+
XRayInstrMask Mask = 0;
};