summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-08-07 08:45:38 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-08-07 08:45:38 +0000
commit843280bfe30e1b784d4a84d16c85b68d4430fab5 (patch)
tree66f857fdc108a056b1a818429b3c47d6a8b416b2 /llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
parent8840cd31414bf719b5605b12a14bdc32f6e91aa3 (diff)
downloadbcm5719-llvm-843280bfe30e1b784d4a84d16c85b68d4430fab5.tar.gz
bcm5719-llvm-843280bfe30e1b784d4a84d16c85b68d4430fab5.zip
[unittests] Mark private gmock headers with IWYU pragmas. NFC
Summary: To prevent clangd from adding #include of those headers. Reviewers: gribozavr Reviewed By: gribozavr Subscribers: kadircet, llvm-commits, cfe-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65849 llvm-svn: 368135
Diffstat (limited to 'llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h')
-rw-r--r--llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h b/llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
index b3f654af348..8e17468a2cf 100644
--- a/llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
+++ b/llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
@@ -33,6 +33,8 @@
//
// This file implements some commonly used actions.
+// IWYU pragma: private, include "gmock/gmock.h"
+
#ifndef GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_
#define GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_
OpenPOWER on IntegriCloud