[all-commits] [llvm/llvm-project] a82199: [clang][APINotes] Fix -Wunused-function warning (NFC)

nullptr-cpp via All-commits all-commits at lists.llvm.org
Wed Mar 31 18:53:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8219991d0245db8f31a923ba7f24e6beda345b0
      https://github.com/llvm/llvm-project/commit/a8219991d0245db8f31a923ba7f24e6beda345b0
  Author: Yang Fan <nullptr.cpp at gmail.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

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

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

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




More information about the All-commits mailing list