MaskRay added a comment. In D94735#2500129 <https://reviews.llvm.org/D94735#2500129>, @dblaikie wrote:
> Ah, seems I was confused by the patch title - it looks like these values > aren't used for FlagFwdDecl records - forward declarations bail out 3356, not > using the file/line created on 3338/3339. > > Seems like this change might lead to a situation of files but no line > numbers, which seems a bit strange to me - well, at least for __va_list_tag, > which isn't anymore associated with the file than with the line. Perhaps both > should be addressed? `__va_list_tag` is synthesized by Clang `CreateX86_64ABIBuiltinVaListDecl` for `__builtin_va_arg`. I think giving it the filename of `CurLoc` is fine. Giving it the line of the `CurLoc` is arbitrary. `CurLoc` may be from a very unrelated thing. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94735/new/ https://reviews.llvm.org/D94735 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits