summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-01-03 18:32:18 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-01-03 18:32:18 +0000
commitee82f63db35fa073e6a981c91c3bee58bab0ccc0 (patch)
treea18b0f42153b35b281decf96d5002d8299ffd87d /lib/CodeGen/CGExpr.cpp
parentb88a33ac1d3f5acf2e8ace6a7ddc4dc4da36c092 (diff)
downloadclang-ee82f63db35fa073e6a981c91c3bee58bab0ccc0.tar.gz
clang-ee82f63db35fa073e6a981c91c3bee58bab0ccc0.tar.bz2
clang-ee82f63db35fa073e6a981c91c3bee58bab0ccc0.tar.xz
[objc] Refactor and improve functionality for the -Wunused-property-ivar warning.
- Remove the additions to ObjCMethodDecl & ObjCIVarDecl that were getting de/serialized and consolidate all functionality for the checking for this warning in Sema::DiagnoseUnusedBackingIvarInAccessor - Don't check immediately after the method body is finished, check when the @implementation is finished. This is so we can see if the ivar was referenced by any other method, even if the method was defined after the accessor. - Don't silence the warning if any method is called from the accessor silence it if the accessor delegates to another method via self. rdar://15727325 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions