[cfe-commits] [PATCH] CMake: LLVM_NO_RTTI must be obsolete now!
NAKAMURA Takumi
geek4civic at gmail.com
Wed Feb 9 23:20:41 PST 2011
I guess "set(LLVM_NO_RTTI 1)" might be obsolete. May I eliminate them
from CMakeLists.txt?
...Takumi
-------------- next part --------------
From 0f3cc07919e38c6f439d1b4c937819e21f47117b Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi <geek4civic at gmail.com>
Date: Mon, 20 Dec 2010 15:22:57 +0900
Subject: [PATCH] CMake: LLVM_NO_RTTI must be obsolete now!
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.7.1.GIT"
This is a multi-part message in MIME format.
--------------1.7.1.GIT
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
---
tools/edis/CMakeLists.txt | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
--------------1.7.1.GIT
Content-Type: text/x-patch; name="0001-CMake-LLVM_NO_RTTI-must-be-obsolete-now.patch.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-CMake-LLVM_NO_RTTI-must-be-obsolete-now.patch.txt"
diff --git a/tools/edis/CMakeLists.txt b/tools/edis/CMakeLists.txt
index 2019995..5037f9f 100644
--- a/tools/edis/CMakeLists.txt
+++ b/tools/edis/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(LLVM_NO_RTTI 1)
-
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_llvm_library(EnhancedDisassembly
--------------1.7.1.GIT--
-------------- next part --------------
From 76cb1ea282174ed5557ad563c15d962aae023123 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi <geek4civic at gmail.com>
Date: Mon, 20 Dec 2010 15:23:27 +0900
Subject: [PATCH] CMake: LLVM_NO_RTTI must be obsolete now!
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.7.1.GIT"
This is a multi-part message in MIME format.
--------------1.7.1.GIT
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
---
examples/PrintFunctionNames/CMakeLists.txt | 2 --
examples/clang-interpreter/CMakeLists.txt | 2 --
examples/wpa/CMakeLists.txt | 2 --
lib/AST/CMakeLists.txt | 2 --
lib/Analysis/CMakeLists.txt | 2 --
lib/Basic/CMakeLists.txt | 2 --
lib/CodeGen/CMakeLists.txt | 2 --
lib/Driver/CMakeLists.txt | 2 --
lib/Frontend/CMakeLists.txt | 2 --
lib/FrontendTool/CMakeLists.txt | 2 --
lib/Index/CMakeLists.txt | 2 --
lib/Lex/CMakeLists.txt | 2 --
lib/Parse/CMakeLists.txt | 2 --
lib/Rewrite/CMakeLists.txt | 2 --
lib/Sema/CMakeLists.txt | 2 --
lib/Serialization/CMakeLists.txt | 2 --
lib/StaticAnalyzer/Checkers/CMakeLists.txt | 2 --
lib/StaticAnalyzer/Core/CMakeLists.txt | 2 --
tools/c-index-test/CMakeLists.txt | 2 --
tools/driver/CMakeLists.txt | 2 --
tools/libclang/CMakeLists.txt | 2 --
21 files changed, 0 insertions(+), 42 deletions(-)
--------------1.7.1.GIT
Content-Type: text/x-patch; name="0001-CMake-LLVM_NO_RTTI-must-be-obsolete-now.patch.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-CMake-LLVM_NO_RTTI-must-be-obsolete-now.patch.txt"
diff --git a/examples/PrintFunctionNames/CMakeLists.txt b/examples/PrintFunctionNames/CMakeLists.txt
index edfbcb5..d442ff9 100644
--- a/examples/PrintFunctionNames/CMakeLists.txt
+++ b/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/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt
index 21c5afd..c8e907e 100644
--- a/examples/clang-interpreter/CMakeLists.txt
+++ b/examples/clang-interpreter/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(LLVM_NO_RTTI 1)
-
set(LLVM_USED_LIBS
clangFrontend
clangSerialization
diff --git a/examples/wpa/CMakeLists.txt b/examples/wpa/CMakeLists.txt
index e3aaf1d..c997c69 100644
--- a/examples/wpa/CMakeLists.txt
+++ b/examples/wpa/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(LLVM_NO_RTTI 1)
-
set(LLVM_USED_LIBS
clangIndex
clangFrontend
diff --git a/lib/AST/CMakeLists.txt b/lib/AST/CMakeLists.txt
index b49b89e..e767ebc 100644
--- a/lib/AST/CMakeLists.txt
+++ b/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/lib/Analysis/CMakeLists.txt b/lib/Analysis/CMakeLists.txt
index a7bd8c1..0912f3c 100644
--- a/lib/Analysis/CMakeLists.txt
+++ b/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/lib/Basic/CMakeLists.txt b/lib/Basic/CMakeLists.txt
index 12bc7d4..0a28fbc 100644
--- a/lib/Basic/CMakeLists.txt
+++ b/lib/Basic/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(LLVM_NO_RTTI 1)
-
add_clang_library(clangBasic
Builtins.cpp
ConvertUTF.c
diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt
index 4da6368..7aa6b15 100644
--- a/lib/CodeGen/CMakeLists.txt
+++ b/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/lib/Driver/CMakeLists.txt b/lib/Driver/CMakeLists.txt
index 9d41b55..ee7ded9 100644
--- a/lib/Driver/CMakeLists.txt
+++ b/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/lib/Frontend/CMakeLists.txt b/lib/Frontend/CMakeLists.txt
index ceb9fcd..9a53ad6 100644
--- a/lib/Frontend/CMakeLists.txt
+++ b/lib/Frontend/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(LLVM_NO_RTTI 1)
-
set( LLVM_USED_LIBS
clangDriver
clangParse
diff --git a/lib/FrontendTool/CMakeLists.txt b/lib/FrontendTool/CMakeLists.txt
index 31983df..c367695 100644
--- a/lib/FrontendTool/CMakeLists.txt
+++ b/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/lib/Index/CMakeLists.txt b/lib/Index/CMakeLists.txt
index 4dd4f46..0a3f7cb 100644
--- a/lib/Index/CMakeLists.txt
+++ b/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/lib/Lex/CMakeLists.txt b/lib/Lex/CMakeLists.txt
index aa2c93a..417ad96 100644
--- a/lib/Lex/CMakeLists.txt
+++ b/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/lib/Parse/CMakeLists.txt b/lib/Parse/CMakeLists.txt
index 5b75a66..6bf5e64 100644
--- a/lib/Parse/CMakeLists.txt
+++ b/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/lib/Rewrite/CMakeLists.txt b/lib/Rewrite/CMakeLists.txt
index 853a9c0..ee4cba2 100644
--- a/lib/Rewrite/CMakeLists.txt
+++ b/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/lib/Sema/CMakeLists.txt b/lib/Sema/CMakeLists.txt
index af9c2f4..0d66e25 100644
--- a/lib/Sema/CMakeLists.txt
+++ b/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/lib/Serialization/CMakeLists.txt b/lib/Serialization/CMakeLists.txt
index a378218..f8c6798 100644
--- a/lib/Serialization/CMakeLists.txt
+++ b/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/lib/StaticAnalyzer/Checkers/CMakeLists.txt b/lib/StaticAnalyzer/Checkers/CMakeLists.txt
index 9a6ad7f..48e5b63 100644
--- a/lib/StaticAnalyzer/Checkers/CMakeLists.txt
+++ b/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/lib/StaticAnalyzer/Core/CMakeLists.txt b/lib/StaticAnalyzer/Core/CMakeLists.txt
index 5fc72fb..8286130 100644
--- a/lib/StaticAnalyzer/Core/CMakeLists.txt
+++ b/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/tools/c-index-test/CMakeLists.txt b/tools/c-index-test/CMakeLists.txt
index 0cda6c4..9169fc7 100644
--- a/tools/c-index-test/CMakeLists.txt
+++ b/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/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt
index 083b8c0..e38bb37 100644
--- a/tools/driver/CMakeLists.txt
+++ b/tools/driver/CMakeLists.txt
@@ -1,5 +1,3 @@
-set(LLVM_NO_RTTI 1)
-
set( LLVM_USED_LIBS
clangFrontendTool
clangFrontend
diff --git a/tools/libclang/CMakeLists.txt b/tools/libclang/CMakeLists.txt
index e901621..661fddd 100644
--- a/tools/libclang/CMakeLists.txt
+++ b/tools/libclang/CMakeLists.txt
@@ -1,7 +1,5 @@
set(SHARED_LIBRARY TRUE)
-set(LLVM_NO_RTTI 1)
-
set(LLVM_USED_LIBS
clangFrontend
clangDriver
--------------1.7.1.GIT--
More information about the cfe-commits
mailing list