[#absl-Status-AddSourceLocation] = xref:absl.adoc[absl]::xref:absl/Status.adoc[Status]::AddSourceLocation :relfileprefix: ../../ :mrdocs: Appends the `loc` to the current location chain inside the status, iff the status is non‐ok and contains a non‐empty message. == Synopsis Declared in `<absl/status/status.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void AddSourceLocation(xref:absl/SourceLocation.adoc[absl::SourceLocation] loc = absl::SourceLocation::current()); ---- == Parameters [cols="1,4"] |=== | Name| Description | *loc* | The source location to append. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#