[all-commits] [llvm/llvm-project] 889da9: [clang][AST] Fix Wreturn-type gcc warning (NFC)

nullptr-cpp via All-commits all-commits at lists.llvm.org
Thu Mar 4 19:25:43 PST 2021


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

  Changed paths:
    M clang-tools-extra/clangd/SemanticHighlighting.cpp

  Log Message:
  -----------
  [clang][AST] Fix Wreturn-type gcc warning (NFC)

GCC warning:
```
/llvm-project/clang-tools-extra/clangd/SemanticHighlighting.cpp: In function ‘bool clang::clangd::{anonymous}::canHighlightName(clang::DeclarationName)’:
/llvm-project/clang-tools-extra/clangd/SemanticHighlighting.cpp:64:1: warning: control reaches end of non-void function [-Wreturn-type]
   64 | }
      | ^
```




More information about the All-commits mailing list