https://llvm.org/bugs/show_bug.cgi?id=7488
Kaelyn Takata <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassignedclangbugs@nondot. |[email protected] |org | --- Comment #2 from Kaelyn Takata <[email protected]> --- I'm fairly certain this issue was be fixed by r236519; as of r236883 the code: void f(int FOO) { int foo = Foo; } yields: /tmp/foo.cpp:2:13: error: use of undeclared identifier 'Foo' int foo = Foo; ^ 1 error generated. And if the identifiers are made longer so that correction to the function parameter can happen (in the above example, 2/3 of the identifier would have to be changed), the code: void f(int FOObar) { int foobar = Foobar; } yields: /tmp/foo.cpp:2:16: error: use of undeclared identifier 'Foobar'; did you mean 'FOObar'? int foobar = Foobar; ^~~~~~ FOObar /tmp/foo.cpp:1:12: note: 'FOObar' declared here void f(int FOObar) { ^ 1 error generated. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
