Skip to content

Commit fbcb65a

Browse files
authored
Merge pull request #21195 from jketema/jketema/embed
C++: Support C23/C++26 `#embed` preprocessor directives
2 parents f8f5094 + 701569b commit fbcb65a

File tree

11 files changed

+11134
-1080
lines changed

11 files changed

+11134
-1080
lines changed

cpp/downgrades/9439176c1d1312787926458dd54d65a849069118/old.dbscheme

Lines changed: 2489 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class PreprocessorDirective extends @preprocdirect {
2+
string toString() { none() }
3+
}
4+
5+
class Location extends @location_default {
6+
string toString() { none() }
7+
}
8+
9+
from PreprocessorDirective ppd, int kind, int kind_new, Location l
10+
where
11+
preprocdirects(ppd, kind, l) and
12+
if kind = 17 then kind_new = /* ppd_warning */ 18 else kind_new = kind
13+
select ppd, kind_new, l

0 commit comments

Comments
 (0)