Skip to content

Commit 5d53085

Browse files
authored
[NFC] [FlowSensitive] Fix missing namespace in MockHeaders (#170954)
This happened to work because we were missing both a namespace close and open and things happened to be included in the correct order.
1 parent 56fdc61 commit 5d53085

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,8 @@ bool operator!=(const Status &lhs, const Status &rhs);
13581358
Status OkStatus();
13591359
Status InvalidArgumentError(const char *);
13601360
1361+
} // namespace absl
1362+
13611363
#endif // STATUS_H
13621364
)cc";
13631365

@@ -1370,6 +1372,8 @@ constexpr const char StatusOrDefsHeader[] = R"cc(
13701372
#include "std_type_traits.h"
13711373
#include "std_utility.h"
13721374
1375+
namespace absl {
1376+
13731377
template <typename T> struct StatusOr;
13741378
13751379
namespace internal_statusor {

0 commit comments

Comments
 (0)