[all-commits] [llvm/llvm-project] 74a90e: [include-cleaner] Support ObjC interface and proto...
dmaclach via All-commits
all-commits at lists.llvm.org
Tue Jul 28 14:19:56 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74a90e28db0878a01583cd32de4269014c8ecb78
https://github.com/llvm/llvm-project/commit/74a90e28db0878a01583cd32de4269014c8ecb78
Author: dmaclach <dmaclach at gmail.com>
Date: 2026-07-28 (Tue, 28 Jul 2026)
Changed paths:
M clang-tools-extra/include-cleaner/lib/LocateSymbol.cpp
M clang-tools-extra/include-cleaner/unittests/LocateSymbolTest.cpp
Log Message:
-----------
[include-cleaner] Support ObjC interface and protocol declarations in LocateSymbol (#212617)
Treats forward declarations of Objective-C interfaces
(ObjCInterfaceDecl) and protocols (ObjCProtocolDecl) as incomplete,
allowing the symbol locator to prefer their definitions.
Also updates the unit tests to support Objective-C and adds test cases
for these declarations.
Also update the unit tests for forward declarations of enums and enum
classes.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list