From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- .../Inputs/DependsOnModule.framework/Headers/DependsOnModule.h | 5 +++++ .../Modules/Inputs/DependsOnModule.framework/Headers/cxx_other.h | 5 +++++ clang/test/Modules/Inputs/DependsOnModule.framework/Headers/other.h | 1 + 3 files changed, 11 insertions(+) create mode 100644 clang/test/Modules/Inputs/DependsOnModule.framework/Headers/DependsOnModule.h create mode 100644 clang/test/Modules/Inputs/DependsOnModule.framework/Headers/cxx_other.h create mode 100644 clang/test/Modules/Inputs/DependsOnModule.framework/Headers/other.h (limited to 'clang/test/Modules/Inputs/DependsOnModule.framework/Headers') diff --git a/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/DependsOnModule.h b/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/DependsOnModule.h new file mode 100644 index 0000000..9425f48 --- /dev/null +++ b/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/DependsOnModule.h @@ -0,0 +1,5 @@ +#include //expected-warning{{treating #include as an import of module 'Module'}} + +#define DEPENDS_ON_MODULE 1 +#__private_macro DEPENDS_ON_MODULE + diff --git a/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/cxx_other.h b/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/cxx_other.h new file mode 100644 index 0000000..724d798 --- /dev/null +++ b/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/cxx_other.h @@ -0,0 +1,5 @@ +class CXXOnly { + public: + CXXOnly(); + ~CXXOnly(); +}; diff --git a/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/other.h b/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/other.h new file mode 100644 index 0000000..5ee3f92 --- /dev/null +++ b/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/other.h @@ -0,0 +1 @@ +int depends_on_module_other; -- cgit v1.2.3