mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 07:01:03 +08:00
Fix a variety of typos.
No functional change. llvm-svn: 239995
This commit is contained in:
@@ -1088,7 +1088,7 @@ ClangExpressionDeclMap::FindExternalVisibleDecls (NameSearchContext &context,
|
||||
{
|
||||
// This branch will get hit if we are executing code in the context of a function that
|
||||
// claims to have an object pointer (through DW_AT_object_pointer?) but is not formally a
|
||||
// method of the class. In that case, just look up the "this" variable in the the current
|
||||
// method of the class. In that case, just look up the "this" variable in the current
|
||||
// scope and use its type.
|
||||
// FIXME: This code is formally correct, but clang doesn't currently emit DW_AT_object_pointer
|
||||
// for C++ so it hasn't actually been tested.
|
||||
@@ -1207,7 +1207,7 @@ ClangExpressionDeclMap::FindExternalVisibleDecls (NameSearchContext &context,
|
||||
{
|
||||
// This branch will get hit if we are executing code in the context of a function that
|
||||
// claims to have an object pointer (through DW_AT_object_pointer?) but is not formally a
|
||||
// method of the class. In that case, just look up the "self" variable in the the current
|
||||
// method of the class. In that case, just look up the "self" variable in the current
|
||||
// scope and use its type.
|
||||
|
||||
VariableList *vars = frame->GetVariableList(false);
|
||||
|
||||
@@ -1515,7 +1515,7 @@ IRForTarget::MaybeHandleVariable (Value *llvm_value_ptr)
|
||||
|
||||
if (name[0] == '$')
|
||||
{
|
||||
// The $__lldb_expr_result name indicates the the return value has allocated as
|
||||
// The $__lldb_expr_result name indicates the return value has allocated as
|
||||
// a static variable. Per the comment at ASTResultSynthesizer::SynthesizeBodyResult,
|
||||
// accesses to this static variable need to be redirected to the result of dereferencing
|
||||
// a pointer that is passed in as one of the arguments.
|
||||
|
||||
Reference in New Issue
Block a user