llvm/llvm-project
Auf GitHub ansehen[Clang] Suggest more test cases on issue 79748
Open
#102.422 geöffnet am 8. Aug. 2024
clang:frontendgood first issuetest-suite
Repository-Metriken
- Stars
- (26.378 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)
Beschreibung
This is just a robustness enhancement suggestion.
https://github.com/llvm/llvm-project/issues/79748
I triggered this issue and found the solution done in https://github.com/llvm/llvm-project/issues/79748. However, the test cases attached to https://github.com/agozillon/llvm-project/commit/323660ae742aecb524898f956590d599e8869f7f do not include those for reference qualifiers, in addition to cv-qualifiers. As for the completeness consideration, I suggest to add more test cases like:
void* operator new(size_t bytes) &; //expected-error...
void* operator new(size_t bytes) &&; //expected-error...