forked from OSchip/llvm-project
113f56fbb8
This cleanup patch unifies all methods called GetByteSize() in the ValueObject hierarchy to return an optional, like the methods in CompilerType do. This means fewer magic 0 values, which could fix bugs down the road in languages where types can have a size of zero, such as Swift and C (but not C++). Differential Revision: https://reviews.llvm.org/D84285 This re-lands the patch with bogus :m_byte_size(0) initalizations removed. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DWARFExpression.cpp | ||
DiagnosticManager.cpp | ||
Expression.cpp | ||
ExpressionVariable.cpp | ||
FunctionCaller.cpp | ||
IRExecutionUnit.cpp | ||
IRInterpreter.cpp | ||
IRMemoryMap.cpp | ||
LLVMUserExpression.cpp | ||
Materializer.cpp | ||
REPL.cpp | ||
UserExpression.cpp | ||
UtilityFunction.cpp |