Skip to content
Snippets Groups Projects
  1. Sep 07, 2016
    • Matt Arsenault's avatar
      Fix whitespace issues · 9923b760
      Matt Arsenault authored
      ^M and extra space
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280786 91177308-0d34-0410-b5e6-96231b3b80d8
      9923b760
    • Richard Smith's avatar
      Fix clang's handling of the copy performed in the second phase of class · 0d385d2f
      Richard Smith authored
      copy-initialization. We previously got this wrong in a couple of ways:
       - we only looked for copy / move constructors and constructor templates for
         this copy, and thus would fail to copy in cases where doing so should use
         some other constructor (but see core issue 670),
       - we mishandled the special case for disabling user-defined conversions that
         blocks infinite recursion through repeated application of a copy constructor
         (applying it in slightly too many cases) -- though as far as I can tell,
         this does not ever actually affect the result of overload resolution, and
       - we misapplied the special-case rules for constructors taking a parameter
         whose type is a (reference to) the same class type by incorrectly assuming
         that only happens for copy/move constructors (it also happens for
         constructors instantiated from templates and those inherited from base
         classes).
      
      These changes should only affect strange corner cases (for instance, where the
      copy constructor exists but has a non-const-qualified parameter type), so for
      the most part it only causes us to produce more 'candidate' notes, but see the
      test changes for other cases whose behavior is affected.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280776 91177308-0d34-0410-b5e6-96231b3b80d8
      0d385d2f
    • Devin Coughlin's avatar
      [scan-build-py] Increase precision of timestamp in report directory name · 5fbaf12b
      Devin Coughlin authored
      This commit improves compatibility with the perl version of scan-build.
      
      The perl version of scan-build produces output report directories with
      increasing lexicographic ordering. This ordering is relied on by the CmpRuns.py
      tool in utils/analyzer when comparing results for build commands with multiple
      steps. That tool tries to line up the output directory for each step between
      different runs of the analyzer based on the increasing directory name.
      
      The python version of scan-build uses file.mkdtemp() with a time stamp
      prefix to create report directories. The timestamp has a 1-second precision.
      This means that when analysis of a single build step takes less than a second
      the ordering property that CmpRuns.py expects will sometimes not hold,
      depending on the timing and the random suffix generated by mkdtemp(). Ultimately
      this causes CmpRuns to incorrectly correlate results from build steps and report
      spurious differences between runs.
      
      This commit increases the precision of the timestamp used in scan-build-py to
      the microsecond level. This approach still has the same underlying issue -- but
      in practice analysis of any build step is unlikely to take less than a
      millisecond.
      
      Differential Revision: https://reviews.llvm.org/D24163
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280768 91177308-0d34-0410-b5e6-96231b3b80d8
      5fbaf12b
  2. Sep 06, 2016
  3. Sep 05, 2016
  4. Sep 04, 2016
  5. Sep 03, 2016
  6. Sep 02, 2016
Loading