================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to