[LLVMbugs] [Bug 9320] clang shouldn't suggest a function that obviously doesn't match its prototype

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 3 12:50:39 PDT 2013


Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Kaelyn Uhrain <rikka at google.com> ---
$ clang --version
clang version 3.3 
Target: x86_64-unknown-linux-gnu
Thread model: posix

$ cat t.cc 
void revoke(const char*x) {}

void Test() {

$ clang -cc1 -fsyntax-only t.cc
t.cc:4:3: error: use of undeclared identifier 'Invoke'
1 error generated.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130703/852380c5/attachment.html>

More information about the llvm-bugs mailing list