Skip to content
  1. Aug 23, 2016
    • Richard Smith's avatar
      Fix regression introduced by r279164: only pass definitions as the PatternDef · 2fbcbb7b
      Richard Smith authored
      to DiagnoseUninstantiableTemplate, teach hasVisibleDefinition to correctly
      determine whether a function definition is visible, and mark both the function
      and the template as visible when merging function template definitions to
      provide hasVisibleDefinition with the relevant information.
      
      The change to always pass the right declaration as the PatternDef to
      DiagnoseUninstantiableTemplate also caused those checks to happen before other
      diagnostics in InstantiateFunctionDefinition, giving worse diagnostics for the
      same situations, so I sunk the relevant diagnostics into
      DiagnoseUninstantiableTemplate. Those parts of this patch are based on changes
      in reviews.llvm.org/D23492 by Vassil Vassilev.
      
      llvm-svn: 279486
      2fbcbb7b
    • Adrian Prantl's avatar
      Module debug info: Don't assert when encountering an incomplete definition · a72972b9
      Adrian Prantl authored
      in isDefinedInClangModule() and assume that the incomplete definition
      is not defined in the module.
      
      This broke the -gmodules self host recently.
      rdar://problem/27894367
      
      llvm-svn: 279485
      a72972b9
    • Duncan P. N. Exon Smith's avatar
      ADT: Separate some list manipulation API into ilist_base, NFC · 9f5c83b9
      Duncan P. N. Exon Smith authored
      Separate algorithms in iplist<T> that don't depend on T into ilist_base,
      and unit test them.
      
      While I was adding unit tests for these algorithms anyway, I also added
      unit tests for ilist_node_base and ilist_sentinel<T>.
      
      To make the algorithms and unit tests easier to write, I also did the
      following minor changes as a drive-by:
      - encapsulate Prev/Next in ilist_node_base to so that algorithms are
        easier to read, and
      - update ilist_node_access API to take nodes by reference.
      
      There should be no real functionality change here.
      
      llvm-svn: 279484
      9f5c83b9
    • Duncan P. N. Exon Smith's avatar
      Fix header comment for unittests/ADT/ilistTest.cpp · 49a8ebd7
      Duncan P. N. Exon Smith authored
      llvm-svn: 279483
      49a8ebd7
  2. Aug 22, 2016
Loading