[clang] [CIR] Upstream aggregate binary assign handling (PR #163877)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 16 17:22:42 PDT 2025


================
@@ -853,6 +853,14 @@ class CIRGenFunction : public CIRGenTypeCache {
                      FunctionArgList args, clang::SourceLocation loc,
                      clang::SourceLocation startLoc);
 
+  /// returns true if aggregate type has a volatile member.
+  /// TODO(cir): this could be a common AST helper between LLVM / CIR.
+  bool hasVolatileMember(QualType t) {
----------------
bcardosolopes wrote:

Maybe a good opportunity to share this one with OG?

https://github.com/llvm/llvm-project/pull/163877


More information about the cfe-commits mailing list