llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Florian Mayer (fmayer) <details> <summary>Changes</summary> This happened to work because we were missing both a namespace close and open and things happened to be included in the correct order. --- Full diff: https://github.com/llvm/llvm-project/pull/170954.diff 1 Files Affected: - (modified) clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp (+4) ``````````diff diff --git a/clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp b/clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp index 76c7310e16a4f..8ea2015da08df 100644 --- a/clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp +++ b/clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp @@ -1358,6 +1358,8 @@ bool operator!=(const Status &lhs, const Status &rhs); Status OkStatus(); Status InvalidArgumentError(const char *); +} // namespace absl + #endif // STATUS_H )cc"; @@ -1370,6 +1372,8 @@ constexpr const char StatusOrDefsHeader[] = R"cc( #include "std_type_traits.h" #include "std_utility.h" +namespace absl { + template <typename T> struct StatusOr; namespace internal_statusor { `````````` </details> https://github.com/llvm/llvm-project/pull/170954 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
