Support experimental feature pragma

This commit is contained in:
Alex Beregszaszi
2017-08-09 23:41:46 +01:00
parent 279e64ae75
commit fbcc5f4ee5
3 changed files with 32 additions and 4 deletions
+2
View File
@@ -61,6 +61,8 @@ struct SourceUnitAnnotation: ASTAnnotation
std::string path;
/// The exported symbols (all global symbols).
std::map<ASTString, std::vector<Declaration const*>> exportedSymbols;
/// Experimental feature pragmas.
std::set<ASTString> experimentalFeatures;
};
struct ImportAnnotation: ASTAnnotation