Author: Aaron Puchert Date: 2022-05-13T16:29:02+02:00 New Revision: 25862f53cce966cef2957825095861dec631d4f1
URL: https://github.com/llvm/llvm-project/commit/25862f53cce966cef2957825095861dec631d4f1 DIFF: https://github.com/llvm/llvm-project/commit/25862f53cce966cef2957825095861dec631d4f1.diff LOG: Try to disambiguate between overloads on Mac Presumably Mac has a different understanding of how long `long` is. Should fix a build error introduced by D125429 that's not visible on other architectures. Added: Modified: clang/lib/AST/CommentParser.cpp Removed: ################################################################################ diff --git a/clang/lib/AST/CommentParser.cpp b/clang/lib/AST/CommentParser.cpp index 7bac1fb99b88..d78b3ace2bb8 100644 --- a/clang/lib/AST/CommentParser.cpp +++ b/clang/lib/AST/CommentParser.cpp @@ -414,7 +414,7 @@ InlineCommandComment *Parser::parseInlineCommand() { if (Args.size() < Info->NumArgs) { Diag(CommandTok.getEndLocation().getLocWithOffset(1), diag::warn_doc_inline_command_not_enough_arguments) - << CommandTok.is(tok::at_command) << Info->Name << Args.size() + << CommandTok.is(tok::at_command) << Info->Name << (uint64_t)Args.size() << Info->NumArgs << SourceRange(CommandTok.getLocation(), CommandTok.getEndLocation()); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits