Skip to content
  • Chris Lattner's avatar
    track "just a little more" location information for macro instantiations. · 9dc9c206
    Chris Lattner authored
    Now instead of just tracking the expansion history, also track the full
    range of the macro that got replaced.  For object-like macros, this doesn't
    change anything.  For _Pragma and function-like macros, this means we track
    the locations of the ')'.
    
    This is required for PR3579 because apparently GCC uses the line of the ')'
    of a function-like macro as the location to expand __LINE__ to.
    
    llvm-svn: 64601
    9dc9c206
Loading