[CodeGen] clarify a comment; NFC

Prompted by discussion on https://reviews.llvm.org/D78148.
This commit is contained in:
George Burgess IV 2020-04-14 14:29:29 -07:00
parent 8226d599ff
commit 91c8c74180
1 changed files with 2 additions and 2 deletions

View File

@ -2796,8 +2796,8 @@ bool CodeGenModule::shouldEmitFunction(GlobalDecl GD) {
// PR9614. Avoid cases where the source code is lying to us. An available // PR9614. Avoid cases where the source code is lying to us. An available
// externally function should have an equivalent function somewhere else, // externally function should have an equivalent function somewhere else,
// but a function that calls itself is clearly not equivalent to the real // but a function that calls itself through asm label/`__builtin_` trickery is
// implementation. // clearly not equivalent to the real implementation.
// This happens in glibc's btowc and in some configure checks. // This happens in glibc's btowc and in some configure checks.
return !isTriviallyRecursive(F); return !isTriviallyRecursive(F);
} }