diff options
| author | Yuka Takahashi <yukatkh@gmail.com> | 2017-07-22 12:35:15 +0000 |
|---|---|---|
| committer | Yuka Takahashi <yukatkh@gmail.com> | 2017-07-22 12:35:15 +0000 |
| commit | b40f4db4afeea8030b6b5fbd38a302b180c71bc5 (patch) | |
| tree | 112000bd3a059fbaba0df0d11c6061f0d6f7d47e /clang/lib | |
| parent | 5156fcc98326151aac7b328a254f771574cfc3bb (diff) | |
| download | bcm5719-llvm-b40f4db4afeea8030b6b5fbd38a302b180c71bc5.tar.gz bcm5719-llvm-b40f4db4afeea8030b6b5fbd38a302b180c71bc5.zip | |
[Bash-autocompletion] Fixed typo and add '-' after -Wno
Summary: -Wno-<warning> was autocompleted as -Wno<warning>, so fixed this typo.
Differential Revision: https://reviews.llvm.org/D35762
llvm-svn: 308824
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Basic/DiagnosticIDs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/DiagnosticIDs.cpp b/clang/lib/Basic/DiagnosticIDs.cpp index 932b3f1934c..0cdaf8e0364 100644 --- a/clang/lib/Basic/DiagnosticIDs.cpp +++ b/clang/lib/Basic/DiagnosticIDs.cpp @@ -516,7 +516,7 @@ std::vector<std::string> DiagnosticIDs::getDiagnosticFlags() { std::string Diag(DiagGroupNames + I + 1, DiagGroupNames[I]); I += DiagGroupNames[I] + 1; Res.push_back("-W" + Diag); - Res.push_back("-Wno" + Diag); + Res.push_back("-Wno-" + Diag); } return Res; |

