[clang] C++26 Annotation (PR #166287)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 20 01:24:21 PST 2025
================
@@ -934,6 +938,39 @@ def AlwaysInline : DeclOrStmtAttr {
let Documentation = [AlwaysInlineDocs];
}
+def CXX26Annotation : InheritableParamAttr {
+ let Spellings = [];
+ let Args = [ExprArgument<"Arg">];
+ let AdditionalMembers = [{
+private:
+ APValue Value;
+ SourceLocation EqLoc;
+
+public:
+
+ APValue getValue() const { return Value; }
----------------
zebullax wrote:
done
https://github.com/llvm/llvm-project/pull/166287
More information about the cfe-commits
mailing list