yaxunl marked an inline comment as done. yaxunl added inline comments.
================ Comment at: clang/test/CodeGenCUDA/anon-ns.cu:46 + +// COMMON-DAG: @[[STR1:.*]] = {{.*}} c"[[KERN1]]\00" +// COMMON-DAG: @[[STR2:.*]] = {{.*}} c"[[KERN2]]\00" ---------------- tra wrote: > Nit: I'd rename the patterns to reflect the names of the source entities they > track, so we don't have to dig through multiple dependent matches in order to > figure out what the test does. > E.g. for `tempKern` : `KERN3`, `STR3` -> `TKERN`, `TKERNSTR`. > > Maybe give kernels/variables more distinct names as well. My brain keeps > trying to interpret `temp` as `temporary`. > A common naming scheme would be nice. E.g. `tk`, `tv` for the template kernel > and variable, `a*` for anonymous entities. > will do. thanks. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152164/new/ https://reviews.llvm.org/D152164 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits