Go to file
Etienne Bergeron 2c82ebe813 [clang-tidy] fix a crash with -fdelayed-template-parsing in UnnecessaryValueParamCheck.
Summary:
This is the same kind of bug than [[ http://reviews.llvm.org/D18238 | D18238 ]].

Fix crashes caused by deferencing null pointer when declarations parsing may be delayed.
The body of the declarations may be null.

The crashes were observed with a Windows build of clang-tidy and the following command-line.
```
command-line switches: -fms-compatibility-version=19 -fms-compatibility
```

Reviewers: alexfh

Subscribers: kimgr, LegalizeAdulthood, cfe-commits

Differential Revision: http://reviews.llvm.org/D18852

llvm-svn: 265681
2016-04-07 14:58:13 +00:00
clang Fixing duplicate declaration "_mm256 _mm_set_epi32" in revision 262177 2016-04-07 14:44:08 +00:00
clang-tools-extra [clang-tidy] fix a crash with -fdelayed-template-parsing in UnnecessaryValueParamCheck. 2016-04-07 14:58:13 +00:00
compiler-rt [tsan] Remove long sleeps from fork tests 2016-04-07 12:10:28 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Update copyright year to 2016. 2016-03-30 22:39:03 +00:00
libcxx Added a noexcept test 2016-04-07 14:24:16 +00:00
libcxxabi Update copyright year to 2016. 2016-03-30 22:40:47 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Delete Off_Bss. 2016-04-07 14:34:15 +00:00
lldb Enabling AddressSanitizer tests, they should pass now (and this time I mean it). 2016-04-07 11:01:05 +00:00
llgo [llgo] add USES_TERMINAL option to check-libgo 2016-03-30 00:29:33 +00:00
llvm AMDGPU/SI: Add MachineBasicBlock parameter to SIInstrInfo::insertWaitStates 2016-04-07 14:47:07 +00:00
openmp [STATS] Remove trailing whitespace in stats source files 2016-04-05 18:48:48 +00:00
polly Add test case forgotten in r265379. 2016-04-05 17:40:07 +00:00