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:
Chandler Carruth 2012-06-20 08:43:50 +00:00
parent 5c0997f066
commit e813806462
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}