1. 24 Feb, 2017 3 commits
  2. 23 Feb, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r295843: · a6d55d97
      Hans Wennborg authored
      ------------------------------------------------------------------------
      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
      ------------------------------------------------------------------------
      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
  3. 21 Feb, 2017 3 commits
    • Hans Wennborg's avatar
      Merging r294954 and r295592: · cc3bc9c7
      Hans Wennborg authored
      ------------------------------------------------------------------------
      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
      ------------------------------------------------------------------------
      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
  4. 16 Feb, 2017 3 commits
  5. 15 Feb, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r295150: · 86ced617
      Hans Wennborg authored
      ------------------------------------------------------------------------
      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
      ------------------------------------------------------------------------
      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
  6. 14 Feb, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r294800: · 77a08a40
      Hans Wennborg authored
      ------------------------------------------------------------------------
      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
      ------------------------------------------------------------------------
      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
  7. 08 Feb, 2017 1 commit
  8. 03 Feb, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r294008: · 870923f4
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r294008 | arphaman | 2017-02-03 06:22:33 -0800 (Fri, 03 Feb 2017) | 14 lines
      
      [Sema][ObjC++] Typo correction should handle ivars and properties
      
      After r260016 and r260017 disabled typo correction for ivars and properties
      clang didn't report errors about unresolved identifier in the base of ivar and
      property ref expressions. This meant that clang invoked CodeGen on invalid AST
      which then caused a crash.
      
      This commit re-enables typo correction for ivars and properites, and fixes the
      PR25113 & PR26486 (that were originally fixed in r260017 and r260016) in a
      different manner by transforming the Objective-C ivar reference expression with
      'IsFreeIvar' preserved.
      
      rdar://30310772
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@294059 91177308-0d34-0410-b5e6-96231b3b80d8
      870923f4
    • Hans Wennborg's avatar
      Merging r293043: · c1eda1f0
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r293043 | dergachev | 2017-01-25 02:21:45 -0800 (Wed, 25 Jan 2017) | 12 lines
      
      [analyzer] Fix MacOSXAPIChecker fp with static locals seen from nested blocks.
      
      This is an attempt to avoid new false positives caused by the reverted r292800,
      however the scope of the fix is significantly reduced - some variables are still
      in incorrect memory spaces.
      
      Relevant test cases added.
      
      rdar://problem/30105546
      rdar://problem/30156693
      Differential revision: https://reviews.llvm.org/D28946
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@294050 91177308-0d34-0410-b5e6-96231b3b80d8
      c1eda1f0
  9. 01 Feb, 2017 4 commits
    • Hans Wennborg's avatar
      Merging r293787: · a6a1d3f3
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r293787 | arphaman | 2017-02-01 09:37:28 -0800 (Wed, 01 Feb 2017) | 5 lines
      
      [CodeGen][ObjC] Avoid asserting on block pointer types in
      isPointerZeroInitializable
      
      rdar://30111891
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293797 91177308-0d34-0410-b5e6-96231b3b80d8
      a6a1d3f3
    • Hans Wennborg's avatar
      Merging r293360: · ccd67298
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r293360 | gbiv | 2017-01-27 18:19:40 -0800 (Fri, 27 Jan 2017) | 11 lines
      
      Change how we handle diagnose_if attributes.
      
      This patch changes how we handle argument-dependent `diagnose_if`
      attributes. In particular, we now check them in the same place that we
      check for things like passing NULL to Nonnull args, etc. This is
      basically better in every way than how we were handling them before. :)
      
      This fixes PR31638, PR31639, and PR31640.
      
      Differential Revision: https://reviews.llvm.org/D28889
      
      ------------------------------------------------------------------------
      Merging r293369:
      ------------------------------------------------------------------------
      r293369 | gbiv | 2017-01-27 20:16:32 -0800 (Fri, 27 Jan 2017) | 7 lines
      
      Attempt to unbreak buildbots.
      
      r293360 broke some ARM bots, because size_t on those targets is
      apparently `unsigned int`, not `unsigned long`. `sizeof(whatever)`
      should to give us a `size_t`, so we can just use the type of that
      instead.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293784 91177308-0d34-0410-b5e6-96231b3b80d8
      ccd67298
    • Hans Wennborg's avatar
      Merging r291963: · 5eb0ba0f
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r291963 | ericwf | 2017-01-13 14:11:40 -0800 (Fri, 13 Jan 2017) | 9 lines
      
      [clang] Emit `diagnose_if` warnings from system headers
      
      Summary: In order for libc++ to meaningfully use `diagnose_if` warnings they need to be emitted from system headers by default. This patch changes the `diagnose_if` warning diagnostic to be shown in system headers.
      
      Reviewers: george.burgess.iv, rsmith, aaron.ballman
      
      Subscribers: cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D28703
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293783 91177308-0d34-0410-b5e6-96231b3b80d8
      5eb0ba0f
    • Hans Wennborg's avatar
      Merging r293678: · dff88e09
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r293678 | ahatanak | 2017-01-31 11:53:32 -0800 (Tue, 31 Jan 2017) | 9 lines
      
      [Sema] Transform a templated name before looking it up in
      FindInstantiatedDecl or passing it to RebuildMemberExpr.
      
      This fixes PR30361.
      
      rdar://problem/17341274
      
      Differential Revision: https://reviews.llvm.org/D24969
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293782 91177308-0d34-0410-b5e6-96231b3b80d8
      dff88e09
  10. 31 Jan, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r292194: · 5114b5eb
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292194 | majnemer | 2017-01-16 20:14:25 -0800 (Mon, 16 Jan 2017) | 8 lines
      
      [AST] AttributedType should derive type properties from the EquivalentType
      
      Using the canonical type instead of the equivalent type can result in
      insufficient template instantiations.
      
      This fixes PR31656.
      
      Differential Revision: https://reviews.llvm.org/D28788
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293702 91177308-0d34-0410-b5e6-96231b3b80d8
      5114b5eb
    • Hans Wennborg's avatar
      Merging r293596: · 1b8468f0
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r293596 | ahatanak | 2017-01-30 18:31:39 -0800 (Mon, 30 Jan 2017) | 7 lines
      
      Handle ObjCEncodeExpr in extractStringLiteralCharacter.
      
      This fixes an assertion failure that occurs later in the function when
      an ObjCEncodeExpr is cast to StringLiteral.
      
      rdar://problem/30111207
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293653 91177308-0d34-0410-b5e6-96231b3b80d8
      1b8468f0
  11. 27 Jan, 2017 3 commits
    • Hans Wennborg's avatar
      Merging r293134: · 7bf54fb3
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r293134 | akirtzidis | 2017-01-25 18:11:50 -0800 (Wed, 25 Jan 2017) | 4 lines
      
      [index] When indexing an ObjC method declaration use its base name for the location.
      
      Instead of using the location of the beginning '-'/'+'.
      This is consistent with location used for function decls and ObjC method calls where we use the base name as the location as well.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293303 91177308-0d34-0410-b5e6-96231b3b80d8
      7bf54fb3
    • Hans Wennborg's avatar
      Merging r292590: · 2d09298b
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292590 | abataev | 2017-01-20 00:57:28 -0800 (Fri, 20 Jan 2017) | 6 lines
      
      [OPENMP] Fix for PR31643: Clang crashes when compiling code on Windows
      with SEH and openmp
      
      In some cituations (during codegen for Windows SEH constructs)
      CodeGenFunction instance may have CurFn equal to nullptr. OpenMP related
      code does not expect such situation during cleanup.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293302 91177308-0d34-0410-b5e6-96231b3b80d8
      2d09298b
    • Hans Wennborg's avatar
      Merging r292561: · faf6e6df
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292561 | rsmith | 2017-01-19 17:19:46 -0800 (Thu, 19 Jan 2017) | 3 lines
      
      PR31701: Fix crash on invalid caused by parsing a dependent initializer when we
      don't know we're in a dependent context.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293297 91177308-0d34-0410-b5e6-96231b3b80d8
      faf6e6df
  12. 25 Jan, 2017 1 commit
    • Hans Wennborg's avatar
      Merging r292991: · cadf1a49
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292991 | rsmith | 2017-01-24 15:18:28 -0800 (Tue, 24 Jan 2017) | 3 lines
      
      PR31742: Don't emit a bogus "zero size array" extwarn when initializing a
      runtime-sized array from an empty list in an array new.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293072 91177308-0d34-0410-b5e6-96231b3b80d8
      cadf1a49
  13. 24 Jan, 2017 3 commits
    • Hans Wennborg's avatar
      Merging r292874: · b32860f4
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292874 | dcoughlin | 2017-01-23 18:10:59 -0800 (Mon, 23 Jan 2017) | 6 lines
      
      Revert "[analyzer] Fix memory space of static locals seen from nested blocks."
      
      This reverts commit r292800.
      
      It is causing null pointer dereference false positives when a block that
      captures a static local is evaluated at the top level.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292947 91177308-0d34-0410-b5e6-96231b3b80d8
      b32860f4
    • Hans Wennborg's avatar
      Merging r292847: · adbedcc4
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292847 | rsmith | 2017-01-23 15:14:23 -0800 (Mon, 23 Jan 2017) | 2 lines
      
      PR31692: Don't mark a declaration as invalid if we haven't necessarily emitted a (user-visible) error.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292859 91177308-0d34-0410-b5e6-96231b3b80d8
      adbedcc4
    • Hans Wennborg's avatar
      Merging r292800: · 72341111
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292800 | dergachev | 2017-01-23 08:57:11 -0800 (Mon, 23 Jan 2017) | 13 lines
      
      [analyzer] Fix memory space of static locals seen from nested blocks.
      
      When a block within a function accesses a function's static local variable,
      this local is captured by reference rather than copied to the heap.
      
      Therefore this variable's memory space is known: StaticGlobalSpaceRegion.
      Used to be UnknownSpaceRegion, same as for stack locals.
      
      Fixes a false positive in MacOSXAPIChecker.
      
      rdar://problem/30105546
      Differential revision: https://reviews.llvm.org/D28946
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292858 91177308-0d34-0410-b5e6-96231b3b80d8
      72341111
  14. 23 Jan, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r292497: · 12c394c7
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292497 | arphaman | 2017-01-19 09:17:57 -0800 (Thu, 19 Jan 2017) | 6 lines
      
      [Sema] Fix PR28181 by avoiding calling BuildOverloadedBinOp in C mode
      
      rdar://28532840
      
      Differential Revision: https://reviews.llvm.org/D25213
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292808 91177308-0d34-0410-b5e6-96231b3b80d8
      12c394c7
    • Hans Wennborg's avatar
      Merging r292555, r292558 and r292559: · 6a36a695
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292555 | rsmith | 2017-01-19 16:45:35 -0800 (Thu, 19 Jan 2017) | 6 lines
      
      P0426: Make the library implementation of constexpr char_traits a little easier
      by providing a memchr builtin that returns char* instead of void*.
      
      Also add a __has_feature flag to indicate the presence of constexpr forms of
      the relevant <string> functions.
      
      ------------------------------------------------------------------------
      
      ------------------------------------------------------------------------
      r292558 | rsmith | 2017-01-19 16:57:59 -0800 (Thu, 19 Jan 2017) | 2 lines
      
      Add documentation for constexpr string builtin support.
      
      ------------------------------------------------------------------------
      
      ------------------------------------------------------------------------
      r292559 | rsmith | 2017-01-19 17:08:15 -0800 (Thu, 19 Jan 2017) | 2 lines
      
      Fix documentation typo.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292807 91177308-0d34-0410-b5e6-96231b3b80d8
      6a36a695
  15. 19 Jan, 2017 2 commits
    • Hans Wennborg's avatar
      Merging r291955: · 2574fd71
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r291955 | rsmith | 2017-01-13 12:46:54 -0800 (Fri, 13 Jan 2017) | 3 lines
      
      PR31606: Generalize our tentative DR resolution for inheriting copy/move
      constructors to better match the pre-P0136R1 behavior.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292463 91177308-0d34-0410-b5e6-96231b3b80d8
      2574fd71
    • Joerg Sonnenberger's avatar
      Merging r292119: · 8ebd0ffe
      Joerg Sonnenberger authored
      ------------------------------------------------------------------------
      r292119 | joerg | 2017-01-16 15:07:24 +0100 (Mo, 16. Jan 2017) | 3 Zeilen
      
      Ensure that clang -pthread creates the right macro. -D_POSIX_THREADS
      seems to have been a C&P error from old GCC specs for OpenBSD.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292451 91177308-0d34-0410-b5e6-96231b3b80d8
      8ebd0ffe
  16. 18 Jan, 2017 4 commits
    • Hans Wennborg's avatar
      Merging r292247: · 3a631d56
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292247 | jbcoe | 2017-01-17 12:03:54 -0800 (Tue, 17 Jan 2017) | 14 lines
      
      Fix Python 3 language issues and add an explicit check for Python version == 2.
      
      Summary:
      Python bindings cannot support Python 3 without work being done to fix Unicode c-string conversion.
      
      This was attempted in https://reviews.llvm.org/D26082. That patch was reverted due to memory access issues on Linux.
      
      This revision fixes enough language compatibility issues for the clang module to be loaded and raise an error if the Python version is not 2.
      
      Reviewers: mgorny, MathieuDuponchelle, rengolin, compnerd
      
      Reviewed By: compnerd
      
      Differential Revision: https://reviews.llvm.org/D28682
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292339 91177308-0d34-0410-b5e6-96231b3b80d8
      3a631d56
    • Hans Wennborg's avatar
      Merging r292183: · 4077c4b1
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292183 | rsmith | 2017-01-16 18:14:37 -0800 (Mon, 16 Jan 2017) | 14 lines
      
      Partial revert of r290511.
      
      The rules around typechecking deduced template arguments during partial
      ordering are not clear, and while the prior behavior does not seem to be
      correct (it doesn't follow the general model of partial ordering where each
      template parameter is replaced by a non-dependent but unique value), the new
      behavior is also not clearly right and breaks some existing idioms.
      
      The new behavior is retained for dealing with non-type template parameters
      with 'auto' types, as without it even the most basic uses of that feature
      don't work. We can revisit this once CWG has come to an agreement on how
      partial ordering with 'auto' non-type template parameters is supposed to
      work.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292338 91177308-0d34-0410-b5e6-96231b3b80d8
      4077c4b1
    • Hans Wennborg's avatar
      Merging r292052: · 1f645f83
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292052 | akirtzidis | 2017-01-14 22:11:04 -0800 (Sat, 14 Jan 2017) | 1 line
      
      [code-completion] Fix crash when trying to do postfix completion of instance member inside a static function.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292313 91177308-0d34-0410-b5e6-96231b3b80d8
      1f645f83
    • Hans Wennborg's avatar
      Merging r292032: · 8396c5b8
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r292032 | yrnkrn | 2017-01-14 13:12:08 -0800 (Sat, 14 Jan 2017) | 4 lines
      
      Fix PR31644 introduced by r287138 and add a regression test.
      Thanks Dimitry Andric for the report and fix!
      
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@292311 91177308-0d34-0410-b5e6-96231b3b80d8
      8396c5b8
  17. 17 Jan, 2017 1 commit