diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-06-24 17:02:19 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-06-24 17:02:19 +0000 |
commit | dacffc0d8dd20899acc1473dde094d0c237b07fd (patch) | |
tree | de2bb54898e218bb937613000ed9fecd8a3f852b /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | 913690c7bc1baf27d6a170d5d266023f04d790fb (diff) | |
download | llvm-dacffc0d8dd20899acc1473dde094d0c237b07fd.zip llvm-dacffc0d8dd20899acc1473dde094d0c237b07fd.tar.gz llvm-dacffc0d8dd20899acc1473dde094d0c237b07fd.tar.bz2 |
Objective-C. When we use @selector(save:), etc. there may be more
than one method with mismatched type of same selector name.
clang issues a warning to point this out since it may cause
undefined behavior. There are cases though that some APIs
don't care about user methods and such warnings are perceived as
noise. This patch allows users to add paren delimiters around
selector name to turn off such warnings. So, @selector((save:)) will
turn off the warning. It also provides 'fixit' so user knows
what to do. // rdar://16458579
llvm-svn: 211611
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions