1. 05 2月, 2017 5 次提交
    • J
      Move derive macro expansion into the MacroExpander · fbdd0388
      Josh Driver 提交于
      This removes the expand_derives function, and sprinkles
      the functionality throughout the Invocation Collector,
      Expander and Resolver.
      fbdd0388
    • J
      Rename CustomDerive to ProcMacroDerive for macros 1.1 · 0a7380d7
      Josh Driver 提交于
      0a7380d7
    • J
      Make builtin derives a SyntaxExtension · 0477daf9
      Josh Driver 提交于
      This allows builtin derives to be registered and
      resolved, just like other derive types.
      0477daf9
    • B
      Auto merge of #39424 - nikomatsakis:incr-comp-skip-typeck-3, r=mw · eb5cb954
      bors 提交于
      rewrite the predecessors code to create a reduced graph
      
      The old code created a flat listing of "HIR -> WorkProduct" edges.
      While perfectly general, this could lead to a lot of repetition if the
      same HIR nodes affect many work-products. This is set to be a problem
      when we start to skip typeck, since we will be adding a lot more
      "work-product"-like nodes.
      
      The newer code uses an alternative strategy: it "reduces" the graph
      instead. Basically we walk the dep-graph and convert it to a DAG, where
      we only keep intermediate nodes if they are used by multiple
      work-products.
      
      This DAG does not contain the same set of nodes as the original graph,
      but it is guaranteed that (a) every output node is included in the graph
      and (b) the set of input nodes that can reach each output node is
      unchanged.
      
      (Input nodes are basically HIR nodes and foreign metadata; output nodes
      are nodes that have assocaited state which we will persist to disk in
      some way. These are assumed to be disjoint sets.)
      
      r? @michaelwoerister
      
      Fixes #39494
      eb5cb954
    • B
      Auto merge of #39533 - GuillaumeGomez:rollup, r=GuillaumeGomez · 89670856
      bors 提交于
      Rollup of 3 pull requests
      
      - Successful merges: #39486, #39506, #39517
      - Failed merges:
      89670856
  2. 04 2月, 2017 17 次提交
  3. 03 2月, 2017 18 次提交