[analyzer] Treat std::initializer_list as opaque rather than aborting.
Previously, the use of a std::initializer_list (actually, a CXXStdInitializerListExpr) would cause the analyzer to give up on the rest of the path. Now, it just uses an opaque symbolic value for the initializer_list and continues on. At some point in the future we can add proper support for initializer_list, with access to the elements in the InitListExpr. <rdar://problem/14340207> llvm-svn: 186519
Showing
- clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 2 additions, 3 deletionsclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
- clang/test/Analysis/Inputs/system-header-simulator-cxx.h 28 additions, 0 deletionsclang/test/Analysis/Inputs/system-header-simulator-cxx.h
- clang/test/Analysis/ctor.mm 25 additions, 0 deletionsclang/test/Analysis/ctor.mm
- clang/test/Analysis/diagnostics/explicit-suppression.cpp 1 addition, 1 deletionclang/test/Analysis/diagnostics/explicit-suppression.cpp
Loading
Please register or sign in to comment