[ClangAstParser] Adds support for parsing the qualifier 'global'
@@ -404,6 +404,10 @@ public class ClangDataParsers {
qualifiers.add(Qualifier.RESTRICT);
}
+ if (parser.apply(ClangGenericParsers::checkWord, "__global")) {
+ qualifiers.add(Qualifier.GLOBAL);
+ }
+
return new ParserResult<>(parser.getCurrentString(), qualifiers);
}
