Skip to content
  • Argyrios Kyrtzidis's avatar
    Allow getting all source locations of selector identifiers in a ObjCMethodDecl. · b8c3aaf4
    Argyrios Kyrtzidis authored
    Instead of always storing all source locations for the selector identifiers
    we check whether all the identifiers are in a "standard" position; "standard" position is
    
      -Immediately before the arguments: -(id)first:(int)x second:(int)y;
      -With a space between the arguments: -(id)first: (int)x second: (int)y;
      -For nullary selectors, immediately before ';': -(void)release;
    
    In such cases we infer the locations instead of storing them.
    
    llvm-svn: 140989
    b8c3aaf4
Loading