r372263 - fix build, adjust test also for Windows path separator

2019-09-18 Thread Lubos Lunak via cfe-commits
Author: llunak Date: Wed Sep 18 14:41:45 2019 New Revision: 372263 URL: http://llvm.org/viewvc/llvm-project?rev=372263=rev Log: fix build, adjust test also for Windows path separator Introduced in 1e9c1d2b7bfc. Modified: cfe/trunk/test/Frontend/rewrite-includes-conditions.c

r372250 - actually also compile output in tests for -frewrite-includes

2019-09-18 Thread Lubos Lunak via cfe-commits
Author: llunak Date: Wed Sep 18 12:12:14 2019 New Revision: 372250 URL: http://llvm.org/viewvc/llvm-project?rev=372250=rev Log: actually also compile output in tests for -frewrite-includes Checking that the created output matches something is nice, but this should also check whether the output

r372248 - make -frewrite-includes also rewrite conditions in #if/#elif

2019-09-18 Thread Lubos Lunak via cfe-commits
Author: llunak Date: Wed Sep 18 12:09:41 2019 New Revision: 372248 URL: http://llvm.org/viewvc/llvm-project?rev=372248=rev Log: make -frewrite-includes also rewrite conditions in #if/#elif Those conditions may use __has_include, which needs to be rewritten. The existing code has already tried to

r372026 - do not emit -Wunused-macros warnings in -frewrite-includes mode (PR15614)

2019-09-16 Thread Lubos Lunak via cfe-commits
Author: llunak Date: Mon Sep 16 12:18:37 2019 New Revision: 372026 URL: http://llvm.org/viewvc/llvm-project?rev=372026=rev Log: do not emit -Wunused-macros warnings in -frewrite-includes mode (PR15614) -frewrite-includes calls PP.SetMacroExpansionOnlyInDirectives() to avoid macro expansions that

r360539 - make -ftime-trace also print template arguments

2019-05-13 Thread Lubos Lunak via cfe-commits
Author: llunak Date: Sun May 12 03:39:21 2019 New Revision: 360539 URL: http://llvm.org/viewvc/llvm-project?rev=360539=rev Log: make -ftime-trace also print template arguments Without this, I get e.g. 'PerformPendingInstantiations' -> 'std::fill', now I get 'std::fill'. Differential Revision: