================
@@ -1477,6 +1477,26 @@ TEST_F(SymbolCollectorTest, Documentation) {
                         forCodeCompletion(false))));
 }
 
+TEST_F(SymbolCollectorTest, DocumentationInMain) {
----------------
ckandeler wrote:

Hm, do we really want to specify a behavior there? My thinking was that the 
comment should be at either the declaration or the definition and otherwise one 
of them gets chosen at random, depending on the parse order. I suppose one 
could also cook up some elaborated merging scheme, but that seems like overkill.

https://github.com/llvm/llvm-project/pull/67802
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to