summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-06-15 11:18:43 -0700
committerElliott Hughes <enh@google.com>2020-06-15 11:18:43 -0700
commit8c936b4e6c5ffc5d55b93e59587d95066abf9b0e (patch)
tree3c4c54acb8b47cdbe4951e7380d4c1e1096c6ade /tools
parent4ea659a7c6abdae1873e72627a06a8d2aa8c02fd (diff)
Use more inclusive language.
One turns out not to be used at all, and the pylintrc even uses the more intention-revealing term in the machine readable part, just not the comment! Test: treehugger Change-Id: I4db7f1cf4fa1aa8ee601857e4e4c400e2119887c
Diffstat (limited to 'tools')
-rw-r--r--tools/versioner/src/versioner.cpp2
-rw-r--r--tools/versioner/src/versioner.h8
2 files changed, 3 insertions, 7 deletions
diff --git a/tools/versioner/src/versioner.cpp b/tools/versioner/src/versioner.cpp
index 473f1f920..99228dd27 100644
--- a/tools/versioner/src/versioner.cpp
+++ b/tools/versioner/src/versioner.cpp
@@ -141,7 +141,7 @@ static CompilationRequirements collectRequirements(const Arch& arch,
}
auto new_end = std::remove_if(headers.begin(), headers.end(), [&arch](llvm::StringRef header) {
- for (const auto& it : header_blacklist) {
+ for (const auto& it : ignored_headers) {
if (it.second.find(arch) == it.second.end()) {
continue;
}
diff --git a/tools/versioner/src/versioner.h b/tools/versioner/src/versioner.h
index 5e534989e..e9c4989e3 100644
--- a/tools/versioner/src/versioner.h
+++ b/tools/versioner/src/versioner.h
@@ -33,15 +33,11 @@ extern bool add_include;
} \
} while (0)
-static const std::unordered_map<std::string, std::set<Arch>> header_blacklist = {
+static const std::unordered_map<std::string, std::set<Arch>> ignored_headers = {
// Internal header.
+ // TODO: we should probably just admit we're never getting rid of this.
{ "sys/_system_properties.h", supported_archs },
// time64.h #errors when included on LP64 archs.
{ "time64.h", { Arch::arm64, Arch::x86_64 } },
};
-
-static const std::unordered_set<std::string> missing_symbol_whitelist = {
- // atexit comes from crtbegin.
- "atexit",
-};