History log of /bionic/tools/versioner/src/Preprocessor.cpp
Revision Date Author Comments
cdbf6fe94f1907e29aa816471c9d093375ccba2f 10-Nov-2016 Josh Gao <jmgao@google.com> versioner: use unique_ptr to handle ownership of FTS*.

Bug: None
Test: python run_tests.py
Change-Id: I510063e9b57afda4f5492198cd40c15fc6380d2d
16016df79f846d6d21266c3b1dce1e7c24dc4be1 08-Nov-2016 Josh Gao <jmgao@google.com> versioner: refactor to use CompilerInstance directly.

This will make it easier to switch over to a virtual filesystem,
which should drastically improve performance.

This also fixes an issue with warning/error reporting.

Bug: http://b/32748936
Test: python run_tests.py
Change-Id: I2e967acf75db29c95f3a03f4f94cccd22c367ad5
9ae2b9a5213219e929e5cab6cea3f1f1e476d2fd 09-Nov-2016 Josh Gao <jmgao@google.com> versioner: don't always hide future decls.

Bug: http://b/32748732
Test: python run_tests.py
Change-Id: I8f799015ebb1017f5e7d1324fb4c724e12a268bc
dfb74c5f597542c7587a4144eb31b143d82a2281 24-Oct-2016 Elliott Hughes <enh@google.com> Minor copyright header unification.

Regenerating the NOTICE file the other day left me scratching my head at
various "how do they differ?" cases, resolved by this patch.

Test: N/A
Change-Id: I4230bfa1d7ec842a4b9fb8c73dd3b39443d74054
fff29fe17a4187ea83add76695040bc888e9d3bd 08-Sep-2016 Josh Gao <jmgao@google.com> versioner: add support for __VERSIONER_NO_GUARD.

Add an attribute that tells the preprocessor not to guard a
declaration, primarily for use with symbols that get reexported by
libc++ of the form `namespace std { using ::wctrans; }`.

Bug: http://b/28178111
Change-Id: I08c8751214797e37e8f26e7f7416a19e81c2bb4c
9f7ce3d27f5ad369db54047d3f6029add70a55b9 15-Aug-2016 Josh Gao <jmgao@google.com> versioner: fix off-by-one error in header guard calculation.

This was causing redundant guards to be emitted in cases where
declarations were already guarded by another macro.

Bug: http://b/30170081
Change-Id: I9080838fbea5a56225df4b26d0918657fb6c4f21
Test: python run_tests.py
a6b8c4e163a976a2befe4f3bfbfa9ce66d159d30 15-Aug-2016 Josh Gao <jmgao@google.com> versioner: always copy over source headers when preprocessing.

Also, be less noisy when preprocessing.

Bug: http://b/30170081
Change-Id: If0d81b0a3a49756164e4945a20703afeb302fd4d
Test: python run_tests.py
79786347db99cfddcce89138c212e6d23daa9b2e 13-Aug-2016 Josh Gao <jmgao@google.com> versioner: copy unmodified headers when preprocessing.

Change-Id: I2517f560fd44fb519d6ee7e8d0a485036d3ecd87
f8592a3ff3d452b7d784d34814e5d04c20348343 27-Jul-2016 Josh Gao <jmgao@google.com> versioner: add support for preprocessing headers.

Bug: http://b/30170081
Change-Id: I9b662ca9e0fa3a1f9c0211594e851f5f9bef7266