diff options
author | Fangrui Song <maskray@google.com> | 2020-02-03 17:07:41 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-04 09:39:48 -0800 |
commit | 2513118afa385b9df3662050e3aa0a1e3f5e2a8a (patch) | |
tree | eeab5ec706e4c683ec18026425895f2b73fc7686 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a05566c994191ea7b357145cf4236edde6397cb4 (diff) | |
download | llvm-2513118afa385b9df3662050e3aa0a1e3f5e2a8a.zip llvm-2513118afa385b9df3662050e3aa0a1e3f5e2a8a.tar.gz llvm-2513118afa385b9df3662050e3aa0a1e3f5e2a8a.tar.bz2 |
[Driver] Change -fmax-tokens $arg to -fmax-tokens=$arg
Reviewed By: hans
Differential Revision: https://reviews.llvm.org/D73937
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index a711452..9f51c847 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -3320,7 +3320,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, Opts.CompleteMemberPointers = Args.hasArg(OPT_fcomplete_member_pointers); Opts.BuildingPCHWithObjectFile = Args.hasArg(OPT_building_pch_with_obj); - Opts.MaxTokens = getLastArgIntValue(Args, OPT_fmax_tokens, 0, Diags); + Opts.MaxTokens = getLastArgIntValue(Args, OPT_fmax_tokens_EQ, 0, Diags); } static bool isStrictlyPreprocessorAction(frontend::ActionKind Action) { |