File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -1231,25 +1231,6 @@ static const ValueDecl *getValueDecl(const Expr *Exp) {
12311231 return nullptr ;
12321232}
12331233
1234- namespace {
1235-
1236- template <typename Ty>
1237- class has_arg_iterator_range {
1238- using yes = char [1 ];
1239- using no = char [2 ];
1240-
1241- template <typename Inner>
1242- static yes& test (Inner *I, decltype (I->args ()) * = nullptr);
1243-
1244- template <typename >
1245- static no& test (...);
1246-
1247- public:
1248- static const bool value = sizeof (test<Ty>(nullptr )) == sizeof(yes);
1249- };
1250-
1251- } // namespace
1252-
12531234bool ThreadSafetyAnalyzer::inCurrentScope (const CapabilityExpr &CapE) {
12541235 const threadSafety::til::SExpr *SExp = CapE.sexpr ();
12551236 assert (SExp && " Null expressions should be ignored" );
You can’t perform that action at this time.
0 commit comments