summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtOpenMP.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2016-08-02 12:21:09 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2016-08-02 12:21:09 +0000
commit78692ea590046c7c9a66e58a14165ff6b16b5ae5 (patch)
treeed55724a4d77ce1d14a17f2ca2a36090990381af /clang/lib/AST/StmtOpenMP.cpp
parent3f704497fa409aba387a75770e1be9198b5796e4 (diff)
downloadbcm5719-llvm-78692ea590046c7c9a66e58a14165ff6b16b5ae5.tar.gz
bcm5719-llvm-78692ea590046c7c9a66e58a14165ff6b16b5ae5.zip
[analyzer] Respect statement-specific data in CloneDetection.
So far the CloneDetector only respected the kind of each statement when searching for clones. This patch refines the way the CloneDetector collects data from each statement by providing methods for each statement kind, that will read the kind-specific attributes. For example, statements 'a < b' and 'a > b' are no longer considered to be clones, because they are different in operation code, which is an attribute specific to the BinaryOperator statement kind. Patch by Raphael Isemann! Differential Revision: https://reviews.llvm.org/D22514 llvm-svn: 277449
Diffstat (limited to 'clang/lib/AST/StmtOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud