https://github.com/Xazax-hun approved this pull request.

Would be nice to have more tests, the one I was thinking of:


```
int multi_params_annotated(int *p_one [[clang::lifetimebound]], int *p_two 
[[clang::lifetimebound]]);
int global;
int test_multi_param_highlight() {
  int local_two = 2;
  return multi_params_annotated(&global, &local_two);
```

This would verify that the first argument would not get highlighted, even 
though it is actually lifetimebound. 

https://github.com/llvm/llvm-project/pull/215651
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to