aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-17 12:22:48 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-17 19:00:26 +0200
commit5c621900a6614d6e27843c14157b4c2630c124c5 (patch)
tree9634cd52d5cf891b6c481d3a7c13afbf083c537d /clang/lib/Frontend/CompilerInvocation.cpp
parent2956cc50f3405ae32c8c6d6e2c63fe8cb6456fa2 (diff)
downloadllvm-5c621900a6614d6e27843c14157b4c2630c124c5.zip
llvm-5c621900a6614d6e27843c14157b4c2630c124c5.tar.gz
llvm-5c621900a6614d6e27843c14157b4c2630c124c5.tar.bz2
[llvm] [CommandLine] Do not suggest really hidden opts in nearest lookup
Skip 'really hidden' options when performing lookup of the nearest option when invalid option was passed. Since these options aren't even documented in --help-hidden, it seems inconsistent to suggest them to users. This fixes clang-tools-extra test failures due to unexpected suggestions when linking the tools to LLVM dylib (that provides more options than the subset of LLVM libraries linked directly). Differential Revision: https://reviews.llvm.org/D82001
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions