Issue |
117488
|
Summary |
clang-tidy misc-use-internal-linkage false positive for function declaration without body
|
Labels |
clang-tidy
|
Assignees |
|
Reporter |
HerrCai0907
|
`misc-use-internal-linkage` should only warn for the function declaration with body.
It is a common usage in C++ to declare external function at the beginning.
```c++
void f();
void bar() {
f();
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs