From 63e5ca53ef2cec88c38f4742c45de6c2cf7d8d55 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 4 Sep 2020 08:00:38 -0400 Subject: [PATCH] add iwyu mappings for gtest and gmock --- cmake/iwyu/iwyu-extra-map.imp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/iwyu/iwyu-extra-map.imp b/cmake/iwyu/iwyu-extra-map.imp index a6d88cf571..c212cc56dd 100644 --- a/cmake/iwyu/iwyu-extra-map.imp +++ b/cmake/iwyu/iwyu-extra-map.imp @@ -2,4 +2,6 @@ { include: [ "", private, "", public ] }, { include: [ "", public, "", public ] }, { include: [ "@", private, "", public ] }, + { include: [ "@\"gtest/.*\"", private, "\"gtest/gtest.h\"", public ] }, + { include: [ "@\"gmock/.*\"", private, "\"gmock/gmock.h\"", public ] }, ]