diff options
Diffstat (limited to 'Tests/CompileCommandOutput')
-rw-r--r-- | Tests/CompileCommandOutput/compile_command_output.cxx | 2 | ||||
-rw-r--r-- | Tests/CompileCommandOutput/file_with_underscores.cxx | 4 | ||||
-rw-r--r-- | Tests/CompileCommandOutput/relative.cxx | 4 | ||||
-rw-r--r-- | Tests/CompileCommandOutput/relative.h | 12 |
4 files changed, 13 insertions, 9 deletions
diff --git a/Tests/CompileCommandOutput/compile_command_output.cxx b/Tests/CompileCommandOutput/compile_command_output.cxx index 145a064..25795a0 100644 --- a/Tests/CompileCommandOutput/compile_command_output.cxx +++ b/Tests/CompileCommandOutput/compile_command_output.cxx @@ -1,7 +1,7 @@ #include "file_with_underscores.h" #include "relative.h" -int main (int argc, char** argv) +int main(int argc, char** argv) { file_with_underscores(); relative(); diff --git a/Tests/CompileCommandOutput/file_with_underscores.cxx b/Tests/CompileCommandOutput/file_with_underscores.cxx index 4f42ccf..d45c3e0 100644 --- a/Tests/CompileCommandOutput/file_with_underscores.cxx +++ b/Tests/CompileCommandOutput/file_with_underscores.cxx @@ -1,3 +1,5 @@ #include "file_with_underscores.h" -void file_with_underscores() {} +void file_with_underscores() +{ +} diff --git a/Tests/CompileCommandOutput/relative.cxx b/Tests/CompileCommandOutput/relative.cxx index eae11e2..cd1d9b6 100644 --- a/Tests/CompileCommandOutput/relative.cxx +++ b/Tests/CompileCommandOutput/relative.cxx @@ -1,3 +1,5 @@ #include "relative.h" -void relative() {} +void relative() +{ +} diff --git a/Tests/CompileCommandOutput/relative.h b/Tests/CompileCommandOutput/relative.h index ddfe551..221e354 100644 --- a/Tests/CompileCommandOutput/relative.h +++ b/Tests/CompileCommandOutput/relative.h @@ -1,11 +1,11 @@ #if defined(_WIN32) -# ifdef test2_EXPORTS -# define TEST2_EXPORT __declspec(dllexport) -# else -# define TEST2_EXPORT __declspec(dllimport) -# endif +#ifdef test2_EXPORTS +#define TEST2_EXPORT __declspec(dllexport) #else -# define TEST2_EXPORT +#define TEST2_EXPORT __declspec(dllimport) +#endif +#else +#define TEST2_EXPORT #endif TEST2_EXPORT void relative(); |