[Clang/AMDGPU] Zero sized arrays not allowed in HIP device code. (#113470)
[llvm-project.git] / clang / lib / ARCMigrate / CMakeLists.txt
blob515d0960920afcdbe0c12d71f9e64b8529f6dbf8
1 set(LLVM_LINK_COMPONENTS
2   Support
3   TargetParser
4   )
6 # By default MSVC has a 2^16 limit on the number of sections in an object
7 # file, and Transforms.cpp needs more than that.
8 if (MSVC)
9   set_source_files_properties(Transforms.cpp PROPERTIES COMPILE_FLAGS /bigobj)
10 endif()
12 add_clang_library(clangARCMigrate
13   ARCMT.cpp
14   ARCMTActions.cpp
15   FileRemapper.cpp
16   ObjCMT.cpp
17   PlistReporter.cpp
18   TransAPIUses.cpp
19   TransARCAssign.cpp
20   TransAutoreleasePool.cpp
21   TransBlockObjCVariable.cpp
22   TransEmptyStatementsAndDealloc.cpp
23   TransGCAttrs.cpp
24   TransGCCalls.cpp
25   TransProperties.cpp
26   TransProtectedScope.cpp
27   TransRetainReleaseDealloc.cpp
28   TransUnbridgedCasts.cpp
29   TransUnusedInitDelegate.cpp
30   TransZeroOutPropsInDealloc.cpp
31   TransformActions.cpp
32   Transforms.cpp
34   LINK_LIBS
35   clangAST
36   clangAnalysis
37   clangBasic
38   clangEdit
39   clangFrontend
40   clangLex
41   clangRewrite
42   clangSema
43   clangSerialization
45   DEPENDS
46   omp_gen
47   ClangDriverOptions
48   )