llvm-project/lldb/source/Expression
Pavel Labath f760f5aef4 Simplify ObjectFile::GetArchitecture
Summary:
instead of returning the architecture through by-ref argument and a
boolean value indicating success, we can just return the ArchSpec
directly. Since the ArchSpec already has an invalid state, it can be
used to denote the failure without the additional bool.

Reviewers: clayborg, zturner, espindola

Subscribers: emaste, arichardson, JDevlieghere, lldb-commits

Differential Revision: https://reviews.llvm.org/D56129

llvm-svn: 350291
2019-01-03 10:37:19 +00:00
..
CMakeLists.txt Break dependency from Core to ObjectFileJIT. 2018-05-23 23:56:09 +00:00
DWARFExpression.cpp Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
DiagnosticManager.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
ExpressionSourceCode.cpp Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
ExpressionVariable.cpp Refactor GetNextPersistentVariableName into a non-virtual method 2018-04-30 23:59:17 +00:00
FunctionCaller.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
IRDynamicChecks.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
IRExecutionUnit.cpp Simplify ObjectFile::GetArchitecture 2019-01-03 10:37:19 +00:00
IRInterpreter.cpp Revert "[IRInterpreter] Minor cleanups, add comments. NFCI." 2018-09-17 18:14:38 +00:00
IRMemoryMap.cpp [IRMemoryMap] Shrink Allocation and make it move-only (NFC) 2018-08-08 21:26:49 +00:00
LLVMUserExpression.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
Materializer.cpp Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
REPL.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
UserExpression.cpp Revert "Return a named error in the result object of an expression with no result" 2018-10-18 03:10:43 +00:00
UtilityFunction.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00