[all-commits] [llvm/llvm-project] 8dbe2f: [lldb][NFC] Simplify CompilerType constructors/des...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Wed Jan 1 13:57:22 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8dbe2f02c6d300e7222b5064b28c4d82a031647d
https://github.com/llvm/llvm-project/commit/8dbe2f02c6d300e7222b5064b28c4d82a031647d
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-01-01 (Wed, 01 Jan 2020)
Changed paths:
M lldb/include/lldb/Symbol/CompilerType.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
M lldb/source/Symbol/CompilerType.cpp
Log Message:
-----------
[lldb][NFC] Simplify CompilerType constructors/destructors and fix unused variable warning
CompilerType has no virtual functions and no statements in its constructors,
so we can simplify this code. This also allows Clang to emit unused variable warnings
for CompilerType, so I also removed one unused variable that otherwise causes -Werror
builds to fail.
More information about the All-commits
mailing list