Skip to content

Commit

Permalink
Merge branch 'main' into redsun82/swift-ios
Browse files Browse the repository at this point in the history
  • Loading branch information
redsun82 authored Jan 22, 2025
2 parents de020f6 + 5bfd22e commit ea47d6b
Show file tree
Hide file tree
Showing 75 changed files with 11,366 additions and 607 deletions.
2,432 changes: 2,432 additions & 0 deletions cpp/downgrades/59cb96ca699929b63941e81905f9b8de7eed59a6/old.dbscheme

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class PreprocessorDirective extends @preprocdirect {
string toString() { none() }
}

class Location extends @location_default {
string toString() { none() }
}

bindingset[kind]
int getKind(int kind) {
if kind = 14
then result = 6 // Represent MSFT #import as #include
else
if kind = 15 or kind = 6
then result = 3 // Represent #elifdef and #elifndef as #elif
else result = kind
}

from PreprocessorDirective ppd, int kind, Location l
where preprocdirects(ppd, kind, l)
select ppd, getKind(kind), l
Loading

0 comments on commit ea47d6b

Please sign in to comment.