aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-05 18:48:30 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-05 18:48:30 +0000
commit2783b6c0e54fbe5b9257a0c807ad56d97c8070ba (patch)
treebe08d11b5e9470a9223bfa56a421a6dd7d7426e6 /clang/lib/Frontend/CompilerInvocation.cpp
parent5da9dcb27528e788fae20c9b3911c7be0af8000e (diff)
downloadllvm-2783b6c0e54fbe5b9257a0c807ad56d97c8070ba.zip
llvm-2783b6c0e54fbe5b9257a0c807ad56d97c8070ba.tar.gz
llvm-2783b6c0e54fbe5b9257a0c807ad56d97c8070ba.tar.bz2
Release notes for r158230 "Disallow using ObjC literals in direct comparisons"
This may turn out to be a controversial change, due to string literals being uniqued at link time, but Apple's docs only say "The compiler makes such object constants unique on a per-module basis..."[1] without actually saying what a "module" is. (It's not a clang module.) Furthermore, this uniqueness guarantee often can't be guaranteed once the string has been passed through framework code. If this does turn out very controversial, we could downgrade this to a DefaultError warning for strings, and leave it as a true Error for other kinds of literals. (<rdar://problem/11300873>) [1]: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/CreatingStrings.html llvm-svn: 159766
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions