mightBeStructureConstructor)};
resolution = pair.first;
dueToAmbiguity = pair.second;
- if (context_.GetPPCBuiltinsScope() &&
- resolution->name().ToString().rfind("__ppc_", 0) == 0) {
- semantics::CheckPPCIntrinsic(
- *symbol, *resolution, arguments, GetFoldingContext());
- }
if (resolution) {
+ if (context_.GetPPCBuiltinsScope() &&
+ resolution->name().ToString().rfind("__ppc_", 0) == 0) {
+ semantics::CheckPPCIntrinsic(
+ *symbol, *resolution, arguments, GetFoldingContext());
+ }
// re-resolve name to the specific procedure
name.symbol = const_cast<Symbol *>(resolution);
}