================
@@ -6162,6 +6162,8 @@ ASTFileSignature ASTWriter::WriteASTCore(Sema *SemaPtr,
StringRef isysroot,
AddTypeRef(Context, Context.ObjCClassRedefinitionType, SpecialTypes);
AddTypeRef(Context, Context.ObjCSelRedefinitionType, SpecialTypes);
AddTypeRef(Context, Context.getucontext_tType(), SpecialTypes);
+ AddTypeRef(Context, Context.getfexcept_tType(), SpecialTypes);
+ AddTypeRef(Context, Context.getfenv_tType(), SpecialTypes);
----------------
maarcosrmz wrote:
If I understood the recognition mechanism correctly, were we not to treat them
as predefined types, we would not be able to recognize the functions from the
fenv.h header (see
[Builtins.td](https://github.com/llvm/llvm-project/pull/199009/changes#diff-987cbd809c993aa5915def17d1f8276fd08a12aa906f56335faee50044ac5537R4706-R4709)),
which take arguments of these types.
https://github.com/llvm/llvm-project/pull/199009
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits