Go to file
Haojian Wu e641cb4807 [clang-tidy] Fix "Name is not a simple identifier" assertion in `modernize-loop-convert` check.
Summary:
Fix assertion failure: "Name is not a simple identifier".

`Decl::GetName` assumes the name should be an identifier. When the check
processes the function calling statement with speciail key name like
'it.operator->()', it will trigger the assert in `GetName`.

Rather than using `Decl::GetName`, we use `getNameAsString` which works
with special key names in C++.

Reviewers: bkramer

Subscribers: cfe-commits

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

llvm-svn: 263426
2016-03-14 12:41:24 +00:00
clang Recommitted r261634 "Supporting all entities declared in lexical scope in LLVM debug info." 2016-03-14 12:03:55 +00:00
clang-tools-extra [clang-tidy] Fix "Name is not a simple identifier" assertion in `modernize-loop-convert` check. 2016-03-14 12:41:24 +00:00
compiler-rt Fix bad regression from r263077 when building with MSVC. 2016-03-12 01:57:31 +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 math: Fix ilogb(double) return type 2016-02-24 00:52:15 +00:00
libcxx Mark exception-throwing test as XFAIL when exceptions are disabled 2016-03-14 02:51:50 +00:00
libcxxabi Reducing stack usage of test 2016-03-04 14:25:13 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld [ELF] implement --warn-common/--no-warn-common 2016-03-14 09:19:30 +00:00
lldb Extend XFlaky in TestProcessIO to linux as well 2016-03-14 11:19:39 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm Recommitted r261633 "Supporting all entities declared in lexical scope in LLVM debug info." 2016-03-14 12:03:20 +00:00
openmp Initialize two variables in kmp_tasking. 2016-03-12 00:55:17 +00:00
polly Revert "Revert "Update Polly for the removal of PreserveNames from IRBuilder stuff"" 2016-03-13 22:21:43 +00:00