llvm-project/clang/include
Artem Dergachev 51b9a0e8e8 [analyzer] Make CloneDetector consider macro expansions.
So far macro-generated code was treated by the CloneDetector as normal code.
This caused that some macros where reported as false-positive clones because
large chunks of code coming from otherwise concise macro expansions were treated
as copy-pasted code.

This patch ensures that macros are treated in the same way as literals/function
calls. This prevents macros that expand into multiple statements
from being reported as clones.

Patch by Raphael Isemann!

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

llvm-svn: 279367
2016-08-20 10:06:59 +00:00
..
clang [analyzer] Make CloneDetector consider macro expansions. 2016-08-20 10:06:59 +00:00
clang-c [libclang] Add clang_getAllSkippedRanges function 2016-08-18 15:43:55 +00:00
CMakeLists.txt