From 98dd73d66c38e6efc12699462759160c6ccb2ae9 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 10 Feb 2011 09:15:32 +0000 Subject: [PATCH] CMake: LLVM_NO_RTTI must be obsolete now! llvm-svn: 125275 --- clang/examples/PrintFunctionNames/CMakeLists.txt | 2 -- clang/examples/clang-interpreter/CMakeLists.txt | 2 -- clang/examples/wpa/CMakeLists.txt | 2 -- clang/lib/AST/CMakeLists.txt | 2 -- clang/lib/Analysis/CMakeLists.txt | 2 -- clang/lib/Basic/CMakeLists.txt | 2 -- clang/lib/CodeGen/CMakeLists.txt | 2 -- clang/lib/Driver/CMakeLists.txt | 2 -- clang/lib/Frontend/CMakeLists.txt | 2 -- clang/lib/FrontendTool/CMakeLists.txt | 2 -- clang/lib/Index/CMakeLists.txt | 2 -- clang/lib/Lex/CMakeLists.txt | 2 -- clang/lib/Parse/CMakeLists.txt | 2 -- clang/lib/Rewrite/CMakeLists.txt | 2 -- clang/lib/Sema/CMakeLists.txt | 2 -- clang/lib/Serialization/CMakeLists.txt | 2 -- clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt | 2 -- clang/lib/StaticAnalyzer/Core/CMakeLists.txt | 2 -- clang/tools/c-index-test/CMakeLists.txt | 2 -- clang/tools/driver/CMakeLists.txt | 2 -- clang/tools/libclang/CMakeLists.txt | 2 -- 21 files changed, 42 deletions(-) diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt index edfbcb5ce17c..d442ff9c6b3e 100644 --- a/clang/examples/PrintFunctionNames/CMakeLists.txt +++ b/clang/examples/PrintFunctionNames/CMakeLists.txt @@ -1,7 +1,5 @@ set(MODULE TRUE) -set(LLVM_NO_RTTI 1) - set( LLVM_USED_LIBS clangFrontendTool clangFrontend diff --git a/clang/examples/clang-interpreter/CMakeLists.txt b/clang/examples/clang-interpreter/CMakeLists.txt index 21c5afdc816a..c8e907eeaa4e 100644 --- a/clang/examples/clang-interpreter/CMakeLists.txt +++ b/clang/examples/clang-interpreter/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangFrontend clangSerialization diff --git a/clang/examples/wpa/CMakeLists.txt b/clang/examples/wpa/CMakeLists.txt index e3aaf1d919d5..c997c69453f4 100644 --- a/clang/examples/wpa/CMakeLists.txt +++ b/clang/examples/wpa/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangIndex clangFrontend diff --git a/clang/lib/AST/CMakeLists.txt b/clang/lib/AST/CMakeLists.txt index b49b89ed8861..e767ebcb3a9e 100644 --- a/clang/lib/AST/CMakeLists.txt +++ b/clang/lib/AST/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic) add_clang_library(clangAST diff --git a/clang/lib/Analysis/CMakeLists.txt b/clang/lib/Analysis/CMakeLists.txt index a7bd8c193fc7..0912f3c87448 100644 --- a/clang/lib/Analysis/CMakeLists.txt +++ b/clang/lib/Analysis/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST clangIndex) add_clang_library(clangAnalysis diff --git a/clang/lib/Basic/CMakeLists.txt b/clang/lib/Basic/CMakeLists.txt index 12bc7d43ca75..0a28fbc37794 100644 --- a/clang/lib/Basic/CMakeLists.txt +++ b/clang/lib/Basic/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - add_clang_library(clangBasic Builtins.cpp ConvertUTF.c diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt index 4da6368ca158..7aa6b15781ac 100644 --- a/clang/lib/CodeGen/CMakeLists.txt +++ b/clang/lib/CodeGen/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST clangFrontend) add_clang_library(clangCodeGen diff --git a/clang/lib/Driver/CMakeLists.txt b/clang/lib/Driver/CMakeLists.txt index 9d41b55981b5..ee7ded94d4db 100644 --- a/clang/lib/Driver/CMakeLists.txt +++ b/clang/lib/Driver/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST clangParse) add_clang_library(clangDriver diff --git a/clang/lib/Frontend/CMakeLists.txt b/clang/lib/Frontend/CMakeLists.txt index ceb9fcd36154..9a53ad6e53df 100644 --- a/clang/lib/Frontend/CMakeLists.txt +++ b/clang/lib/Frontend/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set( LLVM_USED_LIBS clangDriver clangParse diff --git a/clang/lib/FrontendTool/CMakeLists.txt b/clang/lib/FrontendTool/CMakeLists.txt index 31983df36525..c367695d572c 100644 --- a/clang/lib/FrontendTool/CMakeLists.txt +++ b/clang/lib/FrontendTool/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangDriver clangFrontend clangRewrite clangCodeGen clangStaticAnalyzerCheckers clangStaticAnalyzerCore) diff --git a/clang/lib/Index/CMakeLists.txt b/clang/lib/Index/CMakeLists.txt index 4dd4f469c61b..0a3f7cb14d85 100644 --- a/clang/lib/Index/CMakeLists.txt +++ b/clang/lib/Index/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST) add_clang_library(clangIndex diff --git a/clang/lib/Lex/CMakeLists.txt b/clang/lib/Lex/CMakeLists.txt index aa2c93af8ba7..417ad968402e 100644 --- a/clang/lib/Lex/CMakeLists.txt +++ b/clang/lib/Lex/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - # TODO: Add -maltivec when ARCH is PowerPC. set(LLVM_USED_LIBS clangBasic) diff --git a/clang/lib/Parse/CMakeLists.txt b/clang/lib/Parse/CMakeLists.txt index 5b75a668a4c5..6bf5e64cc6f8 100644 --- a/clang/lib/Parse/CMakeLists.txt +++ b/clang/lib/Parse/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST clangLex clangSema) add_clang_library(clangParse diff --git a/clang/lib/Rewrite/CMakeLists.txt b/clang/lib/Rewrite/CMakeLists.txt index 853a9c0b1229..ee4cba21e0f9 100644 --- a/clang/lib/Rewrite/CMakeLists.txt +++ b/clang/lib/Rewrite/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST clangParse clangFrontend) add_clang_library(clangRewrite diff --git a/clang/lib/Sema/CMakeLists.txt b/clang/lib/Sema/CMakeLists.txt index af9c2f4c4536..0d66e259d484 100644 --- a/clang/lib/Sema/CMakeLists.txt +++ b/clang/lib/Sema/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST clangLex clangAnalysis) add_clang_library(clangSema diff --git a/clang/lib/Serialization/CMakeLists.txt b/clang/lib/Serialization/CMakeLists.txt index a3782180b324..f8c67989a401 100644 --- a/clang/lib/Serialization/CMakeLists.txt +++ b/clang/lib/Serialization/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangFrontend) add_clang_library(clangSerialization diff --git a/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt b/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt index 9a6ad7fbf812..48e5b6334174 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt +++ b/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangAST) add_clang_library(clangStaticAnalyzerCheckers diff --git a/clang/lib/StaticAnalyzer/Core/CMakeLists.txt b/clang/lib/StaticAnalyzer/Core/CMakeLists.txt index 5fc72fb29622..828613003c5a 100644 --- a/clang/lib/StaticAnalyzer/Core/CMakeLists.txt +++ b/clang/lib/StaticAnalyzer/Core/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite) add_clang_library(clangStaticAnalyzerCore diff --git a/clang/tools/c-index-test/CMakeLists.txt b/clang/tools/c-index-test/CMakeLists.txt index 0cda6c4a31b8..9169fc7422a0 100644 --- a/clang/tools/c-index-test/CMakeLists.txt +++ b/clang/tools/c-index-test/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS libclang) set( LLVM_LINK_COMPONENTS diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt index 083b8c0d4ee2..e38bb3768aa9 100644 --- a/clang/tools/driver/CMakeLists.txt +++ b/clang/tools/driver/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_NO_RTTI 1) - set( LLVM_USED_LIBS clangFrontendTool clangFrontend diff --git a/clang/tools/libclang/CMakeLists.txt b/clang/tools/libclang/CMakeLists.txt index e90162131718..661fddd822e0 100644 --- a/clang/tools/libclang/CMakeLists.txt +++ b/clang/tools/libclang/CMakeLists.txt @@ -1,7 +1,5 @@ set(SHARED_LIBRARY TRUE) -set(LLVM_NO_RTTI 1) - set(LLVM_USED_LIBS clangFrontend clangDriver