Great catch, thank you for the help! ~Aaron
On Thu, Jan 9, 2014 at 4:43 PM, Alp Toker <[email protected]> wrote: > Author: alp > Date: Thu Jan 9 15:43:39 2014 > New Revision: 198892 > > URL: http://llvm.org/viewvc/llvm-project?rev=198892&view=rev > Log: > Fix ast-dump-color.cpp test following r198883 > > The commit added a source location that used to be missing from the AST. > > Modified: > cfe/trunk/test/Misc/ast-dump-color.cpp > > Modified: cfe/trunk/test/Misc/ast-dump-color.cpp > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/ast-dump-color.cpp?rev=198892&r1=198891&r2=198892&view=diff > ============================================================================== > --- cfe/trunk/test/Misc/ast-dump-color.cpp (original) > +++ cfe/trunk/test/Misc/ast-dump-color.cpp Thu Jan 9 15:43:39 2014 > @@ -82,6 +82,6 @@ int TestExpr __attribute__((guarded_by(m > //CHECK: {{^}}[[Blue]]|-[[RESET]][[GREEN]]VarDecl[[RESET]][[Yellow]] > 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:18:1[[RESET]], > [[Yellow]]line:25:8[[RESET]]>[[CYAN]] mu2[[RESET]] [[Green]]'class > Mutex':'class Mutex'[[RESET]]{{$}} > //CHECK: {{^}}[[Blue]]| > `-[[RESET]][[MAGENTA]]CXXConstructExpr[[RESET]][[Yellow]] > 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:8[[RESET]]> [[Green]]'class > Mutex':'class Mutex'[[RESET]][[Cyan]][[RESET]][[Cyan]][[RESET]] > [[Green]]'void (void)'[[RESET]]{{$}} > //CHECK: {{^}}[[Blue]]`-[[RESET]][[GREEN]]VarDecl[[RESET]][[Yellow]] > 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:26:1[[RESET]], > [[Yellow]]col:5[[RESET]]>[[CYAN]] TestExpr[[RESET]] > [[Green]]'int'[[RESET]]{{$}} > -//CHECK: {{^}}[[Blue]] `-[[RESET]][[BLUE]]GuardedByAttr[[RESET]][[Yellow]] > 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:29[[RESET]]>{{$}} > +//CHECK: {{^}}[[Blue]] `-[[RESET]][[BLUE]]GuardedByAttr[[RESET]][[Yellow]] > 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:29[[RESET]], > [[Yellow]]col:43[[RESET]]>{{$}} > //CHECK: {{^}}[[Blue]] > `-[[RESET]][[MAGENTA]]DeclRefExpr[[RESET]][[Yellow]] > 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]col:40[[RESET]]> [[Green]]'class > Mutex':'class Mutex'[[RESET]][[Cyan]] lvalue[[RESET]][[Cyan]][[RESET]] > [[GREEN]]Var[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]][[CYAN]] > 'mu1'[[RESET]] [[Green]]'class Mutex':'class Mutex'[[RESET]]{{$}} > > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
