cor3ntin updated this revision to Diff 524408.
cor3ntin marked 9 inline comments as done.
cor3ntin added a comment.
Herald added a subscriber: martong.
Herald added a reviewer: shafik.
- Address Aaron's comments
- Track which expressions are immediately escalating to offer better diagnostics
Rep
tbaeder added inline comments.
Comment at: clang/include/clang/AST/Decl.h:2391
+
+ bool isImmediateFunction() const;
+
Some documentation on the new API would be useful; seems like most calls to
`isConsteval()` should be using `isImmediateFunction()` instead?
aaron.ballman added inline comments.
Comment at: clang/include/clang/AST/DeclBase.h:1695
/// Number of non-inherited bits in FunctionDeclBitfields.
enum { NumFunctionDeclBits = 29 };
Need to update this as well.
Comment at: clang/includ
cor3ntin created this revision.
Herald added a project: All.
cor3ntin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151094
Files:
clang/docs/ReleaseNotes.rst
clang/incl