Skip to content

Commit ea47d6b

Browse files
authored
Merge branch 'main' into redsun82/swift-ios
2 parents de020f6 + 5bfd22e commit ea47d6b

File tree

75 files changed

+11366
-607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+11366
-607
lines changed

cpp/downgrades/59cb96ca699929b63941e81905f9b8de7eed59a6/old.dbscheme

+2,432
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
class PreprocessorDirective extends @preprocdirect {
2+
string toString() { none() }
3+
}
4+
5+
class Location extends @location_default {
6+
string toString() { none() }
7+
}
8+
9+
bindingset[kind]
10+
int getKind(int kind) {
11+
if kind = 14
12+
then result = 6 // Represent MSFT #import as #include
13+
else
14+
if kind = 15 or kind = 6
15+
then result = 3 // Represent #elifdef and #elifndef as #elif
16+
else result = kind
17+
}
18+
19+
from PreprocessorDirective ppd, int kind, Location l
20+
where preprocdirects(ppd, kind, l)
21+
select ppd, getKind(kind), l

0 commit comments

Comments
 (0)