Skip to content
Snippets Groups Projects
  1. Apr 28, 2016
  2. Apr 27, 2016
  3. Feb 01, 2016
  4. Jan 12, 2016
  5. Oct 20, 2015
  6. Oct 16, 2015
  7. Aug 27, 2015
  8. Aug 24, 2015
  9. Aug 19, 2015
  10. Aug 15, 2015
  11. Jul 21, 2015
  12. Jul 17, 2015
  13. Jul 11, 2015
  14. Jul 02, 2015
    • Ben Langmuir's avatar
      [Modules] Be consistent about finding a module for framework headers · 66f5404e
      Ben Langmuir authored
      We use findModuleForHeader() in several places, but in header search we
      were not calling it when a framework module didn't show up with the
      expected name, which would then lead to unexpected non-modular includes.
      Now we will find the module unconditionally for frameworks.  For regular
      frameworks, we use the spelling of the module name from the module map
      file, and for inferred ones we use the canonical directory name.
      
      In the future we might want to lock down framework modules sufficiently
      that these name mismatches cannot happen.
      
      rdar://problem/20465870
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241258 91177308-0d34-0410-b5e6-96231b3b80d8
      66f5404e
  15. Jul 01, 2015
  16. Jun 16, 2015
    • Richard Smith's avatar
      [modules] Simplify -cc1 interface for enabling implicit module maps. · 6e03dd94
      Richard Smith authored
      We used to have a flag to enable module maps, and two more flags to enable
      implicit module maps. This is all redundant; we don't need any flag for
      enabling module maps in the abstract, and we don't usually have -fno- flags for
      -cc1. We now have just a single flag, -fimplicit-module-maps, that enables
      implicitly searching the file system for module map files and loading them.
      
      The driver interface is unchanged for now. We should probably rename
      -fmodule-maps to -fimplicit-module-maps at some point.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239789 91177308-0d34-0410-b5e6-96231b3b80d8
      6e03dd94
  17. May 18, 2015
  18. May 08, 2015
  19. Apr 30, 2015
    • Richard Smith's avatar
      [modules] Stop trying to fake up a linear MacroDirective history. · 1f468121
      Richard Smith authored
      Modules builds fundamentally have a non-linear macro history. In the interest
      of better source fidelity, represent the macro definition information
      faithfully: we have a linear macro directive history within each module, and at
      any point we have a unique "latest" local macro directive and a collection of
      visible imported directives. This also removes the attendent complexity of
      attempting to create a correct MacroDirective history (which we got wrong
      in the general case).
      
      No functionality change intended.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236176 91177308-0d34-0410-b5e6-96231b3b80d8
      1f468121
  20. Mar 18, 2015
    • Yaron Keren's avatar
      Remove many superfluous SmallString::str() calls. · 9bd91b68
      Yaron Keren authored
      Now that SmallString is a first-class citizen, most SmallString::str()
      calls are not required. This patch removes a whole bunch of them, yet
      there are lots more.
      
      There are two use cases where str() is really needed:
      1) To use one of StringRef member functions which is not available in
      SmallString.
      2) To convert to std::string, as StringRef implicitly converts while 
      SmallString do not. We may wish to change this, but it may introduce
      ambiguity.
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232622 91177308-0d34-0410-b5e6-96231b3b80d8
      9bd91b68
  21. Feb 24, 2015
  22. Feb 19, 2015
  23. Feb 12, 2015
  24. Dec 11, 2014
  25. Dec 10, 2014
    • Richard Smith's avatar
      Reinstate r223753, reverted in r223759 due to breakage of clang-tools-extra. · b247819d
      Richard Smith authored
      Original commit message:
      
      [modules] Add experimental -fmodule-map-file-home-is-cwd flag to -cc1.
      
      For files named by -fmodule-map-file=, and files found by 'extern module'
      directives, this flag specifies that we should resolve filenames relative to
      the current working directory rather than relative to the directory in which
      the module map file resides. This is aimed at fixing path handling, in
      particular for relative -I paths, when building modules that represent
      components of the current project (rather than libraries installed on the
      current system, which the current project has as dependencies, where we'd
      typically expect the module map files to be looked up implicitly).
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223913 91177308-0d34-0410-b5e6-96231b3b80d8
      b247819d
  26. Dec 09, 2014
  27. Dec 06, 2014
  28. Dec 02, 2014
  29. Nov 25, 2014
  30. Nov 19, 2014
  31. Oct 17, 2014
  32. Aug 12, 2014
    • Manuel Klimek's avatar
      Correctly implement -include search logic. · 0e5c52d4
      Manuel Klimek authored
      According to the gcc docs, -include uses the current working directory
      for the lookup instead of the main source file.
      
      This patch gets rid of NormalizeIncludePath (which relied on an
      implementation detail of FileManager / FileEntry for the include path
      logic to work), and instead hands the correct lookup information down to
      LookupFile.
      
      This will allow us to change the FileEntry's behavior regarding its Name
      caching.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215433 91177308-0d34-0410-b5e6-96231b3b80d8
      0e5c52d4
Loading