[all-commits] [llvm/llvm-project] 3f7f7f: [clang][APINotes] Fix gcc Wunused-function warning...

nullptr-cpp via All-commits all-commits at lists.llvm.org
Tue Mar 9 19:47:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f7f7f161540ba4a0f8cd48a4f1d5ab323cedd92
      https://github.com/llvm/llvm-project/commit/3f7f7f161540ba4a0f8cd48a4f1d5ab323cedd92
  Author: Yang Fan <nullptr.cpp at gmail.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M clang/lib/APINotes/APINotesYAMLCompiler.cpp

  Log Message:
  -----------
  [clang][APINotes] Fix gcc Wunused-function warning (NFC)

GCC warning:
```
/llvm-project/clang/lib/APINotes/APINotesYAMLCompiler.cpp:574:6: warning: ‘void {anonymous}::Module::dump()’ defined but not used [-Wunused-function]
  574 | void Module::dump() {
      |      ^~~~~~
```




More information about the All-commits mailing list