[Bash-autocompletion] Add support for -W<warning> and -Wno<warning>
authorYuka Takahashi <yukatkh@gmail.com>
Sun, 16 Jul 2017 15:07:20 +0000 (15:07 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Sun, 16 Jul 2017 15:07:20 +0000 (15:07 +0000)
commit64918d0b258f5e7258c808c6fd1adb8e1dd066a7
treecc2485f4ae6f9a1683d94649e4eab14eb6bba418
parentdad2aef03755cbca49631660d975968183b2f219
[Bash-autocompletion] Add support for -W<warning> and -Wno<warning>

Summary:
`-W[tab]` will autocomplete warnings defined in this link:
https://clang.llvm.org/docs/DiagnosticsReference.html#wweak-vtables

Differential Revision: https://reviews.llvm.org/D35447

llvm-svn: 308139
clang/include/clang/Basic/DiagnosticIDs.h
clang/lib/Basic/DiagnosticIDs.cpp
clang/lib/Driver/Driver.cpp
clang/test/Driver/autocomplete.c