Path: blob/master/Utilities/ast-grep/rule-tests/__snapshots__/cmstrcat-adjacent-literals-snapshot.yml
3152 views
id: cmstrcat-adjacent-literals1snapshots:2cmStrCat("literal", "literal"):3labels:4- source: '"literal"'5style: primary6start: 97end: 188- source: cmStrCat("literal", "literal")9style: secondary10start: 011end: 3012- source: ','13style: secondary14start: 1815end: 1916- source: '"literal"'17style: secondary18start: 2019end: 2920cmStrCat("literal", "literal", "literal"):21labels:22- source: '"literal"'23style: primary24start: 925end: 1826- source: cmStrCat("literal", "literal", "literal")27style: secondary28start: 029end: 4130- source: ','31style: secondary32start: 1833end: 1934- source: '"literal"'35style: secondary36start: 2037end: 2938cmStrCat("literal", "literal", "literal", variable):39labels:40- source: '"literal"'41style: primary42start: 943end: 1844- source: cmStrCat("literal", "literal", "literal", variable)45style: secondary46start: 047end: 5148- source: '"literal"'49style: secondary50start: 2051end: 2952cmStrCat("literal", "literal", variable):53labels:54- source: '"literal"'55style: primary56start: 957end: 1858- source: cmStrCat("literal", "literal", variable)59style: secondary60start: 061end: 4062- source: ','63style: secondary64start: 1865end: 1966- source: '"literal"'67style: secondary68start: 2069end: 2970cmStrCat(variable, "literal", "literal" "literal"):71labels:72- source: '"literal"'73style: primary74start: 1975end: 2876- source: cmStrCat(variable, "literal", "literal" "literal")77style: secondary78start: 079end: 5080- source: ','81style: secondary82start: 2883end: 2984- source: '"literal" "literal"'85style: secondary86start: 3087end: 4988cmStrCat(variable, "literal", "literal"):89labels:90- source: '"literal"'91style: primary92start: 1993end: 2894- source: cmStrCat(variable, "literal", "literal")95style: secondary96start: 097end: 4098- source: ','99style: secondary100start: 28101end: 29102- source: '"literal"'103style: secondary104start: 30105end: 39106cmStrCat(variable, "literal", "literal", "literal"):107labels:108- source: '"literal"'109style: primary110start: 19111end: 28112- source: cmStrCat(variable, "literal", "literal", "literal")113style: secondary114start: 0115end: 51116- source: ','117style: secondary118start: 28119end: 29120- source: '"literal"'121style: secondary122start: 30123end: 39124cmStrCat(variable, "literal", "literal", "literal", variable, "literal"):125labels:126- source: '"literal"'127style: primary128start: 19129end: 28130- source: cmStrCat(variable, "literal", "literal", "literal", variable, "literal")131style: secondary132start: 0133end: 72134- source: ','135style: secondary136start: 28137end: 29138- source: '"literal"'139style: secondary140start: 30141end: 39142cmStrCat(variable, "literal", "literal", variable):143labels:144- source: '"literal"'145style: primary146start: 19147end: 28148- source: cmStrCat(variable, "literal", "literal", variable)149style: secondary150start: 0151end: 50152- source: ','153style: secondary154start: 28155end: 29156- source: '"literal"'157style: secondary158start: 30159end: 39160cmStrCat(variable, "literal", "string_view"_s, variable):161labels:162- source: '"literal"'163style: primary164start: 19165end: 28166- source: cmStrCat(variable, "literal", "string_view"_s, variable)167style: secondary168start: 0169end: 56170- source: _s171style: secondary172start: 43173end: 45174- source: ','175style: secondary176start: 28177end: 29178- source: '"string_view"_s'179style: secondary180start: 30181end: 45182cmStrCat(variable, "literal", 'l', variable):183labels:184- source: '"literal"'185style: primary186start: 19187end: 28188- source: cmStrCat(variable, "literal", 'l', variable)189style: secondary190start: 0191end: 44192- source: ','193style: secondary194start: 28195end: 29196- source: '''l'''197style: secondary198start: 30199end: 33200cmStrCat(variable, "literal", R"(raw_literal)", variable):201labels:202- source: '"literal"'203style: primary204start: 19205end: 28206- source: cmStrCat(variable, "literal", R"(raw_literal)", variable)207style: secondary208start: 0209end: 57210- source: ','211style: secondary212start: 28213end: 29214- source: R"(raw_literal)"215style: secondary216start: 30217end: 46218cmStrCat(variable, "string_view"_s, "literal", variable):219labels:220- source: '"string_view"_s'221style: primary222start: 19223end: 34224- source: _s225style: secondary226start: 32227end: 34228- source: cmStrCat(variable, "string_view"_s, "literal", variable)229style: secondary230start: 0231end: 56232- source: ','233style: secondary234start: 34235end: 35236- source: '"literal"'237style: secondary238start: 36239end: 45240cmStrCat(variable, 'c', "literal" "literal"):241labels:242- source: '''c'''243style: primary244start: 19245end: 22246- source: cmStrCat(variable, 'c', "literal" "literal")247style: secondary248start: 0249end: 44250- source: ','251style: secondary252start: 22253end: 23254- source: '"literal" "literal"'255style: secondary256start: 24257end: 43258cmStrCat(variable, 'c', "literal", variable):259labels:260- source: '''c'''261style: primary262start: 19263end: 22264- source: cmStrCat(variable, 'c', "literal", variable)265style: secondary266start: 0267end: 44268- source: ','269style: secondary270start: 22271end: 23272- source: '"literal"'273style: secondary274start: 24275end: 33276cmStrCat(variable, 'c', 'l', variable):277labels:278- source: '''c'''279style: primary280start: 19281end: 22282- source: cmStrCat(variable, 'c', 'l', variable)283style: secondary284start: 0285end: 38286- source: ','287style: secondary288start: 22289end: 23290- source: '''l'''291style: secondary292start: 24293end: 27294cmStrCat(variable, R"(raw_literal)", "literal", variable):295labels:296- source: R"(raw_literal)"297style: primary298start: 19299end: 35300- source: cmStrCat(variable, R"(raw_literal)", "literal", variable)301style: secondary302start: 0303end: 57304- source: ','305style: secondary306start: 35307end: 36308- source: '"literal"'309style: secondary310start: 37311end: 46312313314