linux-packaging-mono/external/llvm-project/clang-tools-extra/test/clang-tidy/modernize-loop-convert-assert-failure.cpp
Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

19 lines
423 B
C++

// RUN: clang-tidy %s -checks=-*,modernize-loop-convert --
// Note: this test expects no assert failure happened in clang-tidy.
class LinguisticItem {
LinguisticItem *x0;
class x1 {
bool operator!= ( const x1 &;
operator* ( ;
LinguisticItem * &operator-> ( ;
operator++ (
} begin() const;
x1 end() const {
LinguisticStream x2;
for (x1 x3 = x2.begin x3 != x2.end; ++x3)
x3->x0
}
};