summaryrefslogtreecommitdiff
path: root/src/hir/hir.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-11-12 15:47:46 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-11-12 15:47:46 +0800
commit4912b243930dba3111e090f57f9e3ffa9f7deeb9 (patch)
tree1bcc52a450fef775874e28ecce981117233e4c23 /src/hir/hir.hpp
parentcecb6576bd72f7c2cf560be7ba5ed5900d0a1539 (diff)
downloadmrust-4912b243930dba3111e090f57f9e3ffa9f7deeb9.tar.gz
src - Add draft (untested) support for procedural macro crates
Diffstat (limited to 'src/hir/hir.hpp')
-rw-r--r--src/hir/hir.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hir/hir.hpp b/src/hir/hir.hpp
index 72b8d7dc..a04fd1da 100644
--- a/src/hir/hir.hpp
+++ b/src/hir/hir.hpp
@@ -470,12 +470,17 @@ public:
/// Macros exported by this crate
::std::unordered_map< ::std::string, ::MacroRulesPtr > m_exported_macros;
+ /// Procedural macros presented
+ ::std::vector<::HIR::SimplePath> m_proc_macros;
/// Language items avaliable through this crate (includes ones from loaded externs)
::std::unordered_map< ::std::string, ::HIR::SimplePath> m_lang_items;
+ /// Referenced crates
::std::unordered_map< ::std::string, ExternCrate> m_ext_crates;
+ /// Referenced system libraries
::std::vector<ExternLibrary> m_ext_libs;
+ /// Extra paths for the linker
::std::vector<::std::string> m_link_paths;
/// Method called to populate runtime state after deserialisation