Author: Benjamin Kramer
Date: 2022-07-18T16:34:36+02:00
New Revision: 313f8a20fdf968501a79c7f9aaaf77ae0faaf907

URL: 
https://github.com/llvm/llvm-project/commit/313f8a20fdf968501a79c7f9aaaf77ae0faaf907
DIFF: 
https://github.com/llvm/llvm-project/commit/313f8a20fdf968501a79c7f9aaaf77ae0faaf907.diff

LOG: Don't include private gtest/gmock headers

Only gmock.h and gtest.h are supposed to be user-visible.

Added: 
    

Modified: 
    clang/unittests/Basic/SarifTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Basic/SarifTest.cpp 
b/clang/unittests/Basic/SarifTest.cpp
index 123be8e924fe..05221c828afe 100644
--- a/clang/unittests/Basic/SarifTest.cpp
+++ b/clang/unittests/Basic/SarifTest.cpp
@@ -20,9 +20,7 @@
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/Support/VirtualFileSystem.h"
 #include "llvm/Support/raw_ostream.h"
-#include "gmock/gmock-matchers.h"
-#include "gtest/gtest-death-test.h"
-#include "gtest/gtest-matchers.h"
+#include "gmock/gmock.h"
 #include "gtest/gtest.h"
 
 #include <algorithm>


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to