[PATCH] D33676: Place implictly declared functions at block scope
Momchil Velikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 16 04:56:48 PDT 2017
chill added inline comments.
================
Comment at: test/Sema/implicit-decl.c:12
int32_t compCount = 0;
- if (_CFCalendarDecomposeAbsoluteTimeV(compDesc, vector, compCount)) { // expected-note {{previous implicit declaration is here}} \
- expected-error {{implicit declaration of function '_CFCalendarDecomposeAbsoluteTimeV' is invalid in C99}}
+ if (_CFCalendarDecomposeAbsoluteTimeV(compDesc, vector, compCount)) { // expected-error {{implicit declaration of function '_CFCalendarDecomposeAbsoluteTimeV' is invalid in C99}}
}
----------------
rogfer01 wrote:
> Is there a way not to lose the note?
The note is a part of the conflicting types diagnostic, that's no longer issued.
https://reviews.llvm.org/D33676
More information about the cfe-commits
mailing list