Merge "Removes RTTI support from libc"
This commit is contained in:
commit
94a9ba2b4a
@ -217,7 +217,6 @@ libc_bionic_src_files := \
|
|||||||
bionic/termios.cpp \
|
bionic/termios.cpp \
|
||||||
bionic/thread_atexit.cpp \
|
bionic/thread_atexit.cpp \
|
||||||
bionic/tmpfile.cpp \
|
bionic/tmpfile.cpp \
|
||||||
bionic/typeinfo.cpp \
|
|
||||||
bionic/umount.cpp \
|
bionic/umount.cpp \
|
||||||
bionic/unlink.cpp \
|
bionic/unlink.cpp \
|
||||||
bionic/utimes.cpp \
|
bionic/utimes.cpp \
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2008 The Android Open Source Project
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <typeinfo>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
type_info::type_info() {
|
|
||||||
}
|
|
||||||
|
|
||||||
type_info::~type_info() {
|
|
||||||
}
|
|
||||||
|
|
||||||
char const* type_info::name() const {
|
|
||||||
return "N/A";
|
|
||||||
}
|
|
||||||
|
|
||||||
bool type_info::operator==(type_info const& /*rhs*/) const {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool type_info::operator!=(type_info const& /*rhs*/) const {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool type_info::before(type_info const& /*rhs*/) const {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
type_info::type_info(type_info const& /*rhs*/) {
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user