]> granicus.if.org Git - clang/commit
Silence the category-replacing-class-method warning for +load: category
authorDavid Chisnall <csdavec@swan.ac.uk>
Mon, 8 Aug 2011 17:32:19 +0000 (17:32 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Mon, 8 Aug 2011 17:32:19 +0000 (17:32 +0000)
commit7ca13ef64136929df852c038ebbddee070dc5119
treeeb018bb6a80b22f73247f8f1b73cf739b7932ff6
parent4bd5d09e3a233ed23ec6f913166e4b75d8de215c
Silence the category-replacing-class-method warning for +load: category
implementations of +load do not replace the class definition in a meaningful
sense, they are run when the category loads, the +load method for class is run
when the class is loaded.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137053 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclObjC.cpp