Code completion results for class methods already include instance methods from Objective-C root classes. This patch ensures that the results also include instance methods from protocols that the root class implements and root class categories as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
How does this interact (if at all) with classes annotated with __attribute__((objc_root_class))?
lib/Sema/SemaCodeComplete.cpp | ||
---|---|---|
5259 | false -> false /*IsRootClass*/ |
Comment Actions
The root classes are just classes without a superclass, the attribute __attribute__((objc_root_class)) is used by foundation root classes to avoid the warning for a missing superclass. But there's no real crossover here.
false -> false /*IsRootClass*/