[clang] [APINotes] Add Where.Object selectors for C++ methods (PR #216148)

John Hui via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 01:10:57 PDT 2026


================
@@ -28,9 +29,10 @@ const uint16_t VERSION_MAJOR = 0;
 /// API notes file minor version number.
 ///
 /// When the format changes IN ANY WAY, this number should be incremented.
-const uint16_t VERSION_MINOR = 41; // 39 for BoundsSafety;
+const uint16_t VERSION_MINOR = 42; // 39 for BoundsSafety;
----------------
j-hui wrote:

You should delete the trailing comments and force the comment change on the same line.

The purpose of that comment is to force a merge conflict between, say:

```
<<<
const uint16_t VERSION_MINOR = 42; // 42 for FunctionTableKey object selectors
---
const uint16_t VERSION_MINOR = 41; // 41 for FunctionTableKey parameters
===
const uint16_t VERSION_MINOR = 42; // 42 for something else
>>>
```


https://github.com/llvm/llvm-project/pull/216148


More information about the cfe-commits mailing list