Skip to content
  1. Apr 24, 2013
  2. Apr 23, 2013
  3. Apr 22, 2013
  4. Apr 21, 2013
  5. Apr 20, 2013
    • Richard Smith's avatar
      Implement core issue 1608: class members can be found via operator lookup in a... · 0feaf0c7
      Richard Smith authored
      Implement core issue 1608: class members can be found via operator lookup in a trailing return type in that class's body.
      
      llvm-svn: 179941
      0feaf0c7
    • Simon Atanasyan's avatar
      Supports Sourcery CodeBench Mips toolchain directories tree. · 08450bd5
      Simon Atanasyan authored
      Sourcery CodeBench and modern FSF Mips toolchains require a bit more
      complicated algorithm to calculate headers, libraries and sysroot paths
      than implemented by Clang driver now. The main problem is that all these
      paths depend on a set of command line arguments additionally to a target
      triple value. For example, let $TC is a toolchain installation directory.
      If we compile big-endian 32-bit mips code, crtbegin.o is in the
      $TC/lib/gcc/mips-linux-gnu/4.7.2 folder and the toolchain's linker requires
      --sysroot=$TC/mips-linux-gnu/libc argument. If we compile little-endian
      32-bit soft-float mips code, crtbegin.o is in the
      $TC/lib/gcc/mips-linux-gnu/4.7.2/soft-float/el folder and the toolchain's
      linker requires --sysroot=$TC/mips-linux-gnu/libc/soft-float/el argument.
      
      1. Calculate MultiarchSuffix using all necessary command line options and
         use this MultiarchSuffix to detect crtbegin.o location in the
         GCCInstallationDetector::ScanLibDirForGCCTriple() routine.
      2. If a user does not provide --sysroot argument to the driver explicitly,
         calculate new sysroot value based on command line options. Then use this
         calculated sysroot path:
         a. To populate a file search paths list in the Linux::Linux() constructor.
         b. To find Mips toolchain specific include headers directories
            in the Linux::AddClangSystemIncludeArgs() routine.
         c. To provide -–sysroot argument for a linker.
      
      Note:
      - The FSF's tree slightly differs (folder names) and is not supported
        yet.
      - New addExternCSystemIncludeIfExits() routine is a temporary solution.
        I plan to move path existence check to the addExternCSystemInclude()
        routine by a separate commit.
      
      The patch reviewed by Rafael Espindola.
      http://llvm-reviews.chandlerc.com/D644
      
      llvm-svn: 179934
      08450bd5
    • Anna Zaks's avatar
      [analyzer] Ensure BugReporterTracking works on regions with pointer arithmetic · 6c0c47ed
      Anna Zaks authored
      Introduce a new helper function, which computes the first symbolic region in
      the base region chain. The corresponding symbol has been used for assuming that
      a pointer is null. Now, it will also be used for checking if it is null.
      
      This ensures that we are tracking a null pointer correctly in the BugReporter.
      
      llvm-svn: 179916
      6c0c47ed
    • Anna Zaks's avatar
      [analyzer] Correct the comment · 4e883002
      Anna Zaks authored
      llvm-svn: 179914
      4e883002
    • Argyrios Kyrtzidis's avatar
      0903f8da
  6. Apr 19, 2013
Loading