Lines Matching full:location
97 // If we have no source location, just emit the diagnostic message. in emitDiagnostic()
116 // Find the ultimate expansion location for the diagnostic. in emitDiagnostic()
129 // If this location is within a macro, walk from UnexpandedLoc up to Loc in emitDiagnostic()
154 /// diagnostic level and location.
161 /// \param Loc The diagnostic location.
162 /// \param PLoc The presumed location of the diagnostic location.
199 // If this source location was imported from a module, print the module in emitIncludeStackRecursively()
204 // This location was imported by a module. Emit the module import stack. in emitIncludeStackRecursively()
217 /// Emit the module import stack associated with the current location.
274 // Only look at the immediate spelling location of this macro argument if in retrieveMacroLocation()
275 // the other location in the source range is also present in that expansion. in retrieveMacroLocation()
301 // If we moved the end of the range to an expansion location, we now have in retrieveMacroLocation()
347 // around the location specified by CaretLoc.
350 // chain for the beginning and end of each range. If the caret location
351 // is in a macro expansion, we search each chain for a location
414 // Return the spelling location of the beginning and end of the range. in mapDiagnosticRanges()
437 // Find the spelling location for the macro definition. We must use the in emitSingleMacroExpansion()
438 // spelling location here to avoid emitting a macro backtrace for the note. in emitSingleMacroExpansion()
441 // Map the ranges into the FileID of the diagnostic location. in emitSingleMacroExpansion()
458 /// Check that the macro argument location of Loc starts with ArgumentLoc.
459 /// The starting location of the macro expansions is used to differeniate
503 // To store the source location of the argument location. in checkRangesForMacroArgExpansion()
506 // Set the ArgumentLoc to the beginning location of the expansion of Loc in checkRangesForMacroArgExpansion()
507 // so to check if the ranges expands to the same beginning location. in checkRangesForMacroArgExpansion()
525 /// \param Loc The location for this caret.
533 assert(Loc.isValid() && "must have a valid source location here"); in emitMacroExpansions()
553 // Once the location no longer points into a macro, try stepping through in emitMacroExpansions()
554 // the last found location. This sometimes produces additional useful in emitMacroExpansions()
558 assert(L.isValid() && "must have a valid source location here"); in emitMacroExpansions()
598 // Generate a note indicating the include location. in emitIncludeLocation()
609 // Generate a note indicating the include location. in emitImportLocation()
623 // Generate a note indicating the include location. in emitBuildingModuleLocation()