From f111cf992df4ec00acfdd026eac12b36c3831999 Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Tue, 5 Jan 2021 19:45:31 +0100 Subject: [PATCH] [clang][cli] Specify correct integer width for -fbuild-session-timestamp This fixes an issue where large integer values were rejected as invalid. Reviewed By: arphaman Differential Revision: https://reviews.llvm.org/D94101 --- clang/include/clang/Driver/Options.td | 2 +- clang/unittests/Frontend/CompilerInvocationTest.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 9a851f6..c7da888 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1767,7 +1767,7 @@ def fmodules_search_all : Flag <["-"], "fmodules-search-all">, Group, def fbuild_session_timestamp : Joined<["-"], "fbuild-session-timestamp=">, Group, Flags<[CC1Option]>, MetaVarName<"