Go to file
Jonas Toth ad2524f9fc [clang-tidy] fix PR36489 - respect deduced pointer types from auto as well
Summary:
The cppcoreguidelines-pro-bounds-pointer-arithmetic warns on all occassion where
pointer arithmetic is used, but does not check values where the pointer types
is deduced via `auto`. This patch adjusts this behaviour and solved
PR36489.
I accidentally commited a wrong patch, this Differential is meant to have a
correct revision description and code attached to it.
Because the patch was accepted by aaron.ballman already, i will just commit
it.
See https://reviews.llvm.org/D48717 for the old differntial (contains wrong
code from the mixup)

Subscribers: nemanjai, xazax.hun, kbarton, cfe-commits

Differential Revision: https://reviews.llvm.org/D49682

llvm-svn: 337716
2018-07-23 17:46:17 +00:00
clang [MS] Update _MSVC_LANG values for C++17 and C++2a 2018-07-23 17:44:00 +00:00
clang-tools-extra [clang-tidy] fix PR36489 - respect deduced pointer types from auto as well 2018-07-23 17:46:17 +00:00
compiler-rt [libFuzzer] Handle unstable edges by using minimum hit counts 2018-07-23 14:20:52 +00:00
debuginfo-tests Revert "[CMake] Sort dependency list and add safestack to it" 2018-07-18 20:10:43 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx Cleanup unnecessary conversions in filesystem. 2018-07-23 11:55:13 +00:00
libcxxabi Revert "[CMake] Support statically linking dependencies only to shared or static library" 2018-07-23 05:07:44 +00:00
libunwind The semantics of DW_CFA_GNU_args_size have changed subtile over the 2018-07-17 19:00:51 +00:00
lld [LLD] Add llvm-objcopy to test dependencies. NFC. 2018-07-23 14:12:57 +00:00
lldb Add support for parsing Breakpad minidump files that can have extra padding in the module, thread and memory lists. 2018-07-23 14:16:08 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [ARM] Use unique_ptr to fix memory leak introduced in r337701 2018-07-23 17:43:21 +00:00
openmp [OPNEMP, NVPTX] Fixed sychronization construct + code cleanup. 2018-07-23 13:52:12 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [isl] Simplify iterator implementation by building on top of list accessors 2018-07-23 15:28:50 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.