Skip to content
Commit 896c66ec authored by Richard Smith's avatar Richard Smith
Browse files

[modules] libstdc++ defines some static inline functions in its internal

headers. If those headers end up being textually included twice into the same
module, we get ambiguity errors.

Work around this by downgrading the ambiguity error to a warning if multiple
identical internal-linkage functions appear in an overload set, and just pick
one of those functions as the lookup result.

llvm-svn: 250884
parent 42152366
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment