forked from OSchip/llvm-project
Remove a 'static' specifier from an 'inline' function in a header file.
This issue was caught by the new '-Winternal-linkage-in-inline' warning. llvm-svn: 158801
This commit is contained in:
parent
5c0997f066
commit
e813806462
|
@ -59,7 +59,7 @@ inline bool isExternalLinkage(Linkage L) {
|
|||
}
|
||||
|
||||
/// \brief Compute the minimum linkage given two linages.
|
||||
static inline Linkage minLinkage(Linkage L1, Linkage L2) {
|
||||
inline Linkage minLinkage(Linkage L1, Linkage L2) {
|
||||
return L1 < L2? L1 : L2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue