Skip to content

Commit 8bc1710

Browse files
akoeplingerradekdoulik
authored andcommitted
1 parent 29b14ac commit 8bc1710

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
// work around MSVC bug: https://developercommunity.visualstudio.com/t/C1001-triggered-by-StreamCheckercpp-of/10667148
14+
#if defined(_MSC_VER) && (_MSC_VER < 1941)
15+
#pragma optimize("", off)
16+
#endif
17+
1318
#include "NoOwnershipChangeVisitor.h"
1419
#include "clang/ASTMatchers/ASTMatchFinder.h"
1520
#include "clang/ASTMatchers/ASTMatchers.h"

0 commit comments

Comments
 (0)