https://bugs.llvm.org/show_bug.cgi?id=32181
Bug ID: 32181
Summary: Warning about `scope:;name()` typos
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: arc...@gmail.com
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
https://twitter.com/sigfpe/status/839294766994989058
It's easy to make the type `std:;foo()` when you meant `std::foo()`, which can
end up quietly doing the same thing if you happening to be using the namespace.
It's unlikely that a user really meant a labeled empty statement followed by an
unqualified function call, so it'd be good to throw up a warning and fixit
here.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs