History log of /external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 29-May-2014 Stephen Hines <srhines@google.com> Update Clang for 3.5 rebase (r209713).

Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
f91fc4bfa3561990bbb39d3ed2045a75cbaa0df4 01-Dec-2013 Bill Wendling <isanbard@gmail.com> Merging r195877:
------------------------------------------------------------------------
r195877 | llunak | 2013-11-27 13:14:43 -0800 (Wed, 27 Nov 2013) | 3 lines

strip UTF-8 BOM in -frewrite-includes (PR#15664)


------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@195987 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
1505edfeb85f54f2a982f76542b51e5ddd12b44c 13-Oct-2013 Benjamin Kramer <benny.kra@googlemail.com> Fix typo: inccrementally

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192551 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
a2b4754bb241bb21b94832916ee07cbf7351b958 17-Sep-2013 Eli Friedman <eli.friedman@gmail.com> Address review comment on r189557.

We need to escape filenames the same way in InclusionRewriter whether
UseLineDirective is true or false.

Review comment from http://llvm.org/bugs/show_bug.cgi?id=17018#c2

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
3432b7800d447267f4353e70a319f6f5a0bb4aab 29-Aug-2013 Eli Friedman <eli.friedman@gmail.com> Properly escape filenames in line directives.

Fixes PR17018. Only partial test coverage because I don't want
to try to write a test which generates a file whose name contains a newline.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
e9512e2c275bf24295202443452da314fb77270f 26-Jul-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [frontend] '-frewrite-includes' should not ignore headers included from command-line.

rdar://14556182

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187207 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
8ee6a0dcc985c65bf5fd61a63e3f86e3ac516f5e 20-Jul-2013 Lubos Lunak <l.lunak@suse.cz> avoid bogus warnings about "unknown" pragmas with -frewrite-includes (pr#14831)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
ce6af1189fb8f6d2a6fa083cff84a796c8377504 20-Jul-2013 Lubos Lunak <l.lunak@suse.cz> fix sometimes incorrect line numbers in -frewrite-includes mode (pr#14795)

Every #include is surrounded by #if 0 in order to comment it out, which adds
lines. That is fixed up right after, but that all can be inside #if part
that is not processed, so fix up also after every end of a conditional part.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
b18840ddd6aa472bbf78ab9de59159eb128fb6a9 07-May-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> Have SourceManager::getLocForEndOfFile() point at the "EOF" location of the FileID.

This fixes a crash due to SourceManager::getLocForEndOfFile() returning an off-by-one location
when the the FileID is for an empty file.

rdar://13803893

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181285 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
596eea7cc26979c952a0b177d024787a99b299df 16-Apr-2013 Benjamin Kramer <benny.kra@googlemail.com> rewrite-includes: Rewrite __has_include(_next) to get rid of a host dependency.

This broke e.g. compiling a crash report from a glibc system on Darwin. Sadly,
the implementation had to game the lexer a lot as we're not using a real
preprocessor here. It also doesn't handle special cases like arbitrary macros in
__has_include, but since this macro isn't common outside of clang's headers we
can get away with that.

Fixes PR14422.

Differential Revision: http://llvm-reviews.chandlerc.com/D594

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
03409967bd9860ffb2ff6b38126e04493c55567f 10-Apr-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [frontend] -frewrite-includes: turn implicit module imports into @imports.

rdar://13610250

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
507d496e18fb7bf54e4cb8f79df56941f93f1eda 10-Apr-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [frontend] -frewrite-includes: if there was no inclusion, don't add lineinfo that indicates return from another file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179143 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
959dc8475fc20ce8c3fd55021cb9f02a531cddc5 16-Feb-2013 Dmitri Gribenko <gribozavr@gmail.com> Use trailing documentation comments properly

Patch by Alexander Zinenko.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
55fc873017f10f6f566b182b70f6fc22aefa3464 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort all of Clang's files under 'lib', and fix up the broken headers
uncovered.

This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.

I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
2ec1d13063fe11730f4a0005ee39299a1145a98a 02-Oct-2012 Aaron Ballman <aaron@aaronballman.com> Silencing an MSVC warning about */ being found outside of a comment.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
f8afcffe6a0213760b64c211812b1750e1e1e967 29-Sep-2012 Argyrios Kyrtzidis <akyrtzi@gmail.com> For PPCallbacks::InclusionDirective() add a parameter for the module, whenever
an inclusion directive was automatically turned into a module import, and
PPCallbacks::moduleImport() for an explicit module import.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164874 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
da313592441db36cf4b06be97c4bcc238ee6fa9c 27-Sep-2012 Argyrios Kyrtzidis <akyrtzi@gmail.com> Per discussion in http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120917/064551.html
have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets.

rdar://11113134 & http://llvm.org/PR13880

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
305c613af6cfc40e519c75d9d2c84c6fa9a841c0 01-Sep-2012 Ted Kremenek <kremenek@apple.com> Split library clangRewrite into clangRewriteCore and clangRewriteFrontend.
This is similar to how we divide up the StaticAnalyzer libraries to separate
core functionality to what is clearly associated with Frontend actions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp