Skip to content

Commit

Permalink
Work around an ICE in MSVC; NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBallman committed Dec 8, 2023
1 parent 23dc248 commit 11dfb3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,10 @@ class HTMLLogger : public Logger {
if (Invalid)
return;

static constexpr unsigned Missing = -1;
// TokenInfo stores the BB and set of elements that a token is part of.
struct TokenInfo {
enum { Missing = -1 };

// The basic block this is part of.
// This is the BB of the stmt with the smallest containing range.
unsigned BB = Missing;
Expand Down

0 comments on commit 11dfb3c

Please sign in to comment.