]> granicus.if.org Git - clang/commit
Only do typo correction for implicit function decls when
authorHans Wennborg <hans@hanshq.net>
Thu, 8 Dec 2011 15:56:07 +0000 (15:56 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 8 Dec 2011 15:56:07 +0000 (15:56 +0000)
commite3ca33aba226c7b5d50703df008ef0ef5f9ea7da
tree68bc65ba40d90b5489af9097db3c6eac1e120b03
parent90ec96f3026480fa41057b05d58f338aed585f62
Only do typo correction for implicit function decls when
they are treated as errors.

Doing typo correction when these are just warnings slows down the
compilation of source which deliberately uses implicit function
declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146153 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Sema/c89.c
test/Sema/implicit-decl.c