================
@@ -5068,7 +5068,8 @@ static TypeSourceInfo 
*GetFullTypeForDeclarator(TypeProcessingState &state,
       // class type in C++.
       if ((T.getCVRQualifiers() || T->isAtomicType()) &&
           !(S.getLangOpts().CPlusPlus &&
-            (T->isDependentType() || T->isRecordType()))) {
+            (T->isDependentType() || T->isRecordType() ||
----------------
erichkeane wrote:

Both of these checks are pretty subtle( in both places!)  can we get a comment 
explaining what they are there for, and why it is the right list? 

https://github.com/llvm/llvm-project/pull/169664
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to