Skip to content
Snippets Groups Projects
  1. Jul 11, 2014
  2. Jul 10, 2014
  3. Jul 09, 2014
  4. Jul 08, 2014
    • Reid Kleckner's avatar
      MS compat: Allow lookup of types from dependent bases in functions · 16251bd5
      Reid Kleckner authored
      If we want to resolve the remaining FIXMEs here, we probably want to
      extend the main lookup mechanism to perform lookup into dependent bases,
      but we would have to tread lightly.  Adding more name lookup has major
      impact on compile time.
      
      If we did extend the main mechanism, we would add a flag to LookupResult
      that allows us to find names from dependent base classes where the base
      is a specialization of a known template.  The final LookupResult would
      still return LookupResult::NotFoundInCurrentInstantiation, but it would
      have a collection of Decls.  If we find a real lookup result, we would
      clear the flag and the existing lookup results and begin accumulating
      only real lookup results.
      
      We would structure the lookup as a secondary lookup between normal
      lookup and typo correction for normal compilation, but for MSVC
      compatibility mode, we would always enable this extra lookup into
      dependent bases.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212566 91177308-0d34-0410-b5e6-96231b3b80d8
      16251bd5
    • Alexey Samsonov's avatar
      Remove unnecessary check for NULL · e5274ba3
      Alexey Samsonov authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212564 91177308-0d34-0410-b5e6-96231b3b80d8
      e5274ba3
Loading