blob: c41afd8813392b62e7fde9da5e69693e1fd3554a [file] [log] [blame] [edit]
// RUN: rm -rf %T/Unique
// RUN: mkdir %T/Unique
// RUN: cp -r %S/Inputs/zircon %T/Unique/zircon
// RUN: %check_clang_tidy %s zircon-fbl-memory %t -- -header-filter=.* -- -std=c++11 -I %T/Unique/zircon
// RUN: FileCheck -input-file=%T/Unique/zircon/transitive.h %s -check-prefix=CHECK-FIXES
// RUN: rm -rf %T/Unique
// transitive.h includes <fbl/unique_ptr.h>
#include "transitive.h"
// CHECK-NOTES: :6:1: warning: including fbl/unique_ptr.h is deprecated, transitively included from {{.*}}.
// CHECK-FIXES-NOT: #include <fbl/unique_ptr.h>