1. 31 May, 2017 5 commits
  2. 16 May, 2017 3 commits
    • Tom Stellard's avatar
      Merging r302818: · 21fe7e8f
      Tom Stellard authored
      ```---------------------------------------------------------------------:frontmatter
      r302818 | rsmith | 2017-05-11 15:17:54 -0400 (Thu, 11 May 2017) | 2 lines
      
      Work around different -std= default for PS4 target.
      ```
      
      ---------------------------------------------------------------------
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@303168 91177308-0d34-0410-b5e6-96231b3b80d8
      21fe7e8f
    • Tom Stellard's avatar
      Merging r302817: · f751db31
      Tom Stellard authored
      ```---------------------------------------------------------------------:frontmatter
      r302817 | rsmith | 2017-05-11 14:58:24 -0400 (Thu, 11 May 2017) | 9 lines
      
      PR22877: When constructing an array via a constructor with a default argument
      in list-initialization, run cleanups for the default argument after each
      iteration of the initialization loop.
      
      We previously only ran the destructor for any temporary once, at the end of the
      complete loop, rather than once per iteration!
      
      Re-commit of r302750, reverted in r302776.
      ```
      
      ---------------------------------------------------------------------
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@303167 91177308-0d34-0410-b5e6-96231b3b80d8
      f751db31
    • Tom Stellard's avatar
      Merging r294313: · d9ff11a2
      Tom Stellard authored
      ```---------------------------------------------------------------------:frontmatter
      r294313 | stulova | 2017-02-07 11:09:41 -0500 (Tue, 07 Feb 2017) | 9 lines
      
      [OpenCL] Accept logical NOT for pointer types in CL1.1
      
      Fix for bug 30217 - incorrect error given for logical
      NOT operation with a pointer type: corrected sema check
      and improved related tests.
      
      Review: D29038
      ```
      
      ---------------------------------------------------------------------
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@303161 91177308-0d34-0410-b5e6-96231b3b80d8
      d9ff11a2
  3. 28 Apr, 2017 1 commit
    • Brad Smith's avatar
      Merging r297098: · 6f1871ce
      Brad Smith authored
      ```---------------------------------------------------------------------:frontmatter
      r297098 | brad | 2017-03-06 18:48:31 -0500 (Mon, 06 Mar 2017) | 2 lines
      
      Set the Int64Type / IntMaxType types correctly for OpenBSD/mips64
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301605 91177308-0d34-0410-b5e6-96231b3b80d8
      6f1871ce
  4. 26 Apr, 2017 1 commit
    • Tom Stellard's avatar
      Merging r299574: · 555e77c8
      Tom Stellard authored
      ```---------------------------------------------------------------------:frontmatter
      r299574 | nico | 2017-04-05 14:10:42 -0400 (Wed, 05 Apr 2017) | 17 lines
      
      clang-format: Support formatting utf-8 character literals in C++11+ mode.
      
      clang-format <<END
      auto c1 = u8'a';
      auto c2 = u'a';
      END
      
      Before:
        auto c1 = u8 'a';
        auto c2 = u'a';
      
      Now:
        auto c1 = u8'a';
        auto c2 = u'a';
      
      Patch from Denis Gladkikh <llvm@denis.gladkikh.email>!
      ```
      
      ---------------------------------------------------------------------
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301463 91177308-0d34-0410-b5e6-96231b3b80d8
      555e77c8
  5. 22 Apr, 2017 5 commits
    • Brad Smith's avatar
      Merging r299269: · 000bee06
      Brad Smith authored
      ```---------------------------------------------------------------------:frontmatter
      r299269 | brad | 2017-03-31 18:13:17 -0400 (Fri, 31 Mar 2017) | 2 lines
      
      Add/update PIE defaults for OpenBSD.
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301087 91177308-0d34-0410-b5e6-96231b3b80d8
      000bee06
    • Brad Smith's avatar
      Merging r296430: · c82a481e
      Brad Smith authored
      ```---------------------------------------------------------------------:frontmatter
      r296430 | brad | 2017-02-27 22:20:26 -0500 (Mon, 27 Feb 2017) | 2 lines
      
      Set ABIs correctly for OpenBSD/arm; soft float and aapcs-linux.
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301086 91177308-0d34-0410-b5e6-96231b3b80d8
      c82a481e
    • Brad Smith's avatar
      Merging r295786: · 86a3750c
      Brad Smith authored
      ```---------------------------------------------------------------------:frontmatter
      r295786 | brad | 2017-02-21 18:13:09 -0500 (Tue, 21 Feb 2017) | 2 lines
      
      Hook up OpenBSD AArch64 support
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301085 91177308-0d34-0410-b5e6-96231b3b80d8
      86a3750c
    • Brad Smith's avatar
      Merging r295635: · e3fa40be
      Brad Smith authored
      ```---------------------------------------------------------------------:frontmatter
      r295635 | brad | 2017-02-19 22:18:15 -0500 (Sun, 19 Feb 2017) | 5 lines
      
      Enable support for __float128 in Clang on OpenBSD/X86
      
      /usr/local/include/c++/4.9.4/type_traits:279:39: error: __float128 is not
      supported on this target
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301084 91177308-0d34-0410-b5e6-96231b3b80d8
      e3fa40be
    • Brad Smith's avatar
      Merging r295614: · 469eeae0
      Brad Smith authored
      ```---------------------------------------------------------------------:frontmatter
      r295614 | brad | 2017-02-19 15:11:48 -0500 (Sun, 19 Feb 2017) | 2 lines
      
      Always use --eh-frame-hdr on OpenBSD, even for -static
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@301083 91177308-0d34-0410-b5e6-96231b3b80d8
      469eeae0
  6. 04 Apr, 2017 2 commits
    • Craig Topper's avatar
      Merging r299347: · 80c73a33
      Craig Topper authored
      ```---------------------------------------------------------------------:frontmatter
      r299347 | ctopper | 2017-04-02 20:51:57 -0700 (Sun, 02 Apr 2017) | 1 line
      
      [AVX-512] Fix a couple more intrinsic macros I missed in r299346.
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@299405 91177308-0d34-0410-b5e6-96231b3b80d8
      80c73a33
    • Craig Topper's avatar
      Merging r299346: · d0e1be52
      Craig Topper authored
      ```---------------------------------------------------------------------:frontmatter
      r299346 | ctopper | 2017-04-02 20:41:29 -0700 (Sun, 02 Apr 2017) | 3 lines
      
      [AVX-512] Fix some intrinsic macros that use the wrong macro parameter names and don't have parentheses around them.
      
      Thanks to Matthew Barr for reporting this issue.
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@299404 91177308-0d34-0410-b5e6-96231b3b80d8
      d0e1be52
  7. 02 Mar, 2017 1 commit
    • Hans Wennborg's avatar
      Merging r296656: · 559aa046
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r296656 | bruno | 2017-03-01 11:18:42 -0800 (Wed, 01 Mar 2017) | 34 lines
      
      [PCH] Avoid VarDecl emission attempt if no owning module avaiable
      
      This is a stopgap fix for PR31863, a regression introduced in r276159.
      
      Consider this snippet:
      
      struct FVector;
      struct FVector {};
      struct FBox {
        FVector Min;
        FBox(int);
      };
      namespace {
      FBox InvalidBoundingBox(0);
      }
      
      While parsing the DECL_VAR for 'struct FBox', clang recursively read all the
      dep decls until it finds the DECL_CXX_RECORD forward declaration for 'struct
      FVector'. Then, it resumes all the way up back to DECL_VAR handling in
      `ReadDeclRecord`, where it checks if `isConsumerInterestedIn` for the decl.
      
      One of the condition for `isConsumerInterestedIn` to return false is if the
      VarDecl is imported from a module `D->getImportedOwningModule()`, because it
      will get emitted when we import the relevant module. However, before checking
      if it comes from a module, clang checks if `Ctx.DeclMustBeEmitted(D)`, which
      triggers the emission of 'struct FBox'. Since one of its fields is still
      incomplete, it crashes.
      
      Instead, check if `D->getImportedOwningModule()` is true before calling
      `Ctx.DeclMustBeEmitted(D)`.
      
      Differential Revision: https://reviews.llvm.org/D29753
      
      rdar://problem/30173654
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@296762 91177308-0d34-0410-b5e6-96231b3b80d8
      559aa046
  8. 24 Feb, 2017 9 commits
  9. 23 Feb, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r295843: · a6d55d97
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r295843 | jvesely | 2017-02-22 07:01:42 -0800 (Wed, 22 Feb 2017) | 3 lines
      
      [OpenCL] r600 needs OpenCL kernel calling convention
      
      Differential Revision: https://reviews.llvm.org/D30236
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@296001 91177308-0d34-0410-b5e6-96231b3b80d8
      a6d55d97
    • Hans Wennborg's avatar
      Merging r295473: · ad64489d
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r295473 | hahnfeld | 2017-02-17 10:32:51 -0800 (Fri, 17 Feb 2017) | 13 lines
      
      [OpenMP] Remove barriers at cancel and cancellation point
      
      This resolves a deadlock with the cancel directive when there is no explicit
      cancellation point. In that case, the implicit barrier acts as cancellation
      point. After removing the barrier after cancel, the now unmatched barrier for
      the explicit cancellation point has to go as well.
      
      This has probably worked before rL255992: With the calls for the explicit
      barrier, it was sure that all threads passed a barrier before exiting.
      
      Reported by Simon Convent and Joachim Protze!
      
      Differential Revision: https://reviews.llvm.org/D30088
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@296000 91177308-0d34-0410-b5e6-96231b3b80d8
      ad64489d
  10. 21 Feb, 2017 3 commits
    • Hans Wennborg's avatar
      Merging r294954 and r295592: · cc3bc9c7
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r294954 | chapuni | 2017-02-13 06:59:53 -0800 (Mon, 13 Feb 2017) | 5 lines
      
      Fix r291495 -- Normalize LLVM_CMAKE_PATH in clang standalone build.
      
      CMake handles paths with slashes. It caused cmake/install failure on msbuild.exe.
      
      Note, Other llvm-config-oriented variables have been normalized since they are stored in the cache attributed with PATH.
      ```
      
      ---------------------------------------------------------------------
      
      ------------------------------------------------------------------------
      r295592 | chapuni | 2017-02-18 19:17:31 -0800 (Sat, 18 Feb 2017) | 1 line
      
      clang/CMakeLists.txt: Rework r294954 -- use file(TO_CMAKE_PATH).
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295760 91177308-0d34-0410-b5e6-96231b3b80d8
      cc3bc9c7
    • Hans Wennborg's avatar
      Merging r295610: · ab74e4bf
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r295610 | brad | 2017-02-19 11:33:26 -0800 (Sun, 19 Feb 2017) | 4 lines
      
      Link static PIE programs against rcrt0.o on OpenBSD
      
      Patch by Stefan Kempf.
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295752 91177308-0d34-0410-b5e6-96231b3b80d8
      ab74e4bf
    • Hans Wennborg's avatar
      ReleaseNotes: static analyzer; by Anna Zaks · ae27a064
      Hans Wennborg authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295742 91177308-0d34-0410-b5e6-96231b3b80d8
      ae27a064
  11. 16 Feb, 2017 3 commits
  12. 15 Feb, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r295150: · 86ced617
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r295150 | ahatanak | 2017-02-14 21:15:28 -0800 (Tue, 14 Feb 2017) | 13 lines
      
      [Sema] Disallow returning a __block variable via a move.
      
      r274291 made changes to prefer calling a move constructor to calling a
      copy constructor when returning from a function. This caused programs to
      crash when a __block variable in the heap was moved out and used later.
      
      This commit fixes the bug by disallowing moving out of __block variables
      implicitly.
      
      rdar://problem/28181080
      
      Differential Revision: https://reviews.llvm.org/D29908
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295234 91177308-0d34-0410-b5e6-96231b3b80d8
      86ced617
    • Hans Wennborg's avatar
      Merging r295149: · 155bc5fa
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r295149 | rsmith | 2017-02-14 20:18:23 -0800 (Tue, 14 Feb 2017) | 2 lines
      
      Fix assertion failure due to implicit special member lookup lacking a source location.
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295233 91177308-0d34-0410-b5e6-96231b3b80d8
      155bc5fa
  13. 14 Feb, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r294800: · 77a08a40
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r294800 | gbiv | 2017-02-10 14:52:29 -0800 (Fri, 10 Feb 2017) | 10 lines
      
      Don't let EvaluationModes dictate whether an invalid base is OK
      
      What we want to actually control this behavior is something more local
      than an EvalutationMode. Please see the linked revision for more
      discussion on why/etc.
      
      This fixes PR31843.
      
      Differential Revision: https://reviews.llvm.org/D29469
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295087 91177308-0d34-0410-b5e6-96231b3b80d8
      77a08a40
    • Hans Wennborg's avatar
      Merging r294855: · bf0d36c6
      Hans Wennborg authored
      ```---------------------------------------------------------------------:frontmatter
      r294855 | compnerd | 2017-02-11 09:24:09 -0800 (Sat, 11 Feb 2017) | 3 lines
      
      docs: update docs for objc_storeStrong behaviour
      
      objc_storeStrong does not return a value.
      ```
      
      ---------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@295076 91177308-0d34-0410-b5e6-96231b3b80d8
      bf0d36c6
  14. 08 Feb, 2017 1 commit