sammccall accepted this revision. sammccall added inline comments. This revision is now accepted and ready to land.
================ Comment at: clang/lib/Sema/SemaCodeComplete.cpp:5153 - auto DoCompletion = [&](Expr *Base, bool IsArrow, + auto DoCompletion = [&](Expr *Base, bool IsArrow, bool IncludeObjC, Optional<FixItHint> AccessOpFixIt) -> bool { ---------------- IncludeObjC is always `!AccessOpFixIt.hasValue()` - use that directly with a suitable comment? ================ Comment at: clang/lib/Sema/SemaCodeComplete.cpp:5251 + + // Fixits are only included for C++. We avoid this for Objective-C properties + // and ivars since most properties are backed by an ivar; otherwise we would ---------------- This first sentence isn't accurate - they're included for C, and even in obj-c, just not for obj-c objects. I'd suggest dropping it and also the note about alternative solutions, unless there's a reason we're likely to want to do that instead in the future. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D81263/new/ https://reviews.llvm.org/D81263 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits