[analyzer] Add system header simulator a symmetric random access iterator operator+
authorEndre Fülöp <endre.fulop@sigmatechnology.se>
Mon, 6 Jul 2020 14:25:57 +0000 (16:25 +0200)
committerEndre Fülöp <endre.fulop@sigmatechnology.se>
Fri, 17 Jul 2020 12:36:43 +0000 (14:36 +0200)
commitfd02a86260b3fb01361175af9600d53354631fb2
treed0dc672d01ceda48f5066f7f5c8865e1fb324120
parent23c9534515eeaec537044f4babcd0d84f9cc3716
[analyzer] Add system header simulator a symmetric random access iterator operator+

Summary:
Random access iterators must handle operator+, where the iterator is on the
RHS. The system header simulator library is extended with these operators.

Reviewers: Szelethus

Subscribers: whisperity, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, steakhal, martong, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83226
clang/test/Analysis/Inputs/system-header-simulator-cxx.h
clang/test/Analysis/diagnostics/explicit-suppression.cpp