Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2069)

Issue 4430065: Changes PPCallback to export the search path in InclusionDirective

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by klimek
Modified:
13 years, 8 months ago
Reviewers:
chandlerc
Visibility:
Public.

Description

To be able to replay compilations we need to accurately remodel how includes get resolved, especially when they are found relatively to another include file. We also try to get it working for framework includes, but that part of the code is untested, as I don't have a code base that uses it.

Patch Set 1 #

Total comments: 12

Patch Set 2 : Applying review comments. #

Total comments: 4

Patch Set 3 : Applying review comments (2) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M include/clang/Lex/DirectoryLookup.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M include/clang/Lex/HeaderSearch.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6
klimek
13 years, 8 months ago (2011-04-26 01:22:20 UTC) #1
chandlerc
http://codereview.appspot.com/4430065/diff/1/include/clang/Lex/DirectoryLookup.h File include/clang/Lex/DirectoryLookup.h (right): http://codereview.appspot.com/4430065/diff/1/include/clang/Lex/DirectoryLookup.h#newcode125 include/clang/Lex/DirectoryLookup.h:125: /// If RawPath is not NULL and the file ...
13 years, 8 months ago (2011-04-26 17:48:04 UTC) #2
klimek
http://codereview.appspot.com/4430065/diff/1/include/clang/Lex/DirectoryLookup.h File include/clang/Lex/DirectoryLookup.h (right): http://codereview.appspot.com/4430065/diff/1/include/clang/Lex/DirectoryLookup.h#newcode125 include/clang/Lex/DirectoryLookup.h:125: /// If RawPath is not NULL and the file ...
13 years, 8 months ago (2011-04-26 18:38:43 UTC) #3
chandlerc
http://codereview.appspot.com/4430065/diff/6001/include/clang/Lex/DirectoryLookup.h File include/clang/Lex/DirectoryLookup.h (right): http://codereview.appspot.com/4430065/diff/6001/include/clang/Lex/DirectoryLookup.h#newcode134 include/clang/Lex/DirectoryLookup.h:134: /// SearchPath at which the file was found. This ...
13 years, 8 months ago (2011-04-26 18:51:58 UTC) #4
klimek
http://codereview.appspot.com/4430065/diff/6001/include/clang/Lex/DirectoryLookup.h File include/clang/Lex/DirectoryLookup.h (right): http://codereview.appspot.com/4430065/diff/6001/include/clang/Lex/DirectoryLookup.h#newcode134 include/clang/Lex/DirectoryLookup.h:134: /// SearchPath at which the file was found. This ...
13 years, 8 months ago (2011-04-26 18:55:32 UTC) #5
chandlerc
13 years, 8 months ago (2011-04-26 21:45:09 UTC) #6
LGTM

(after you made the changes requested inside of rietveld)

Feel free to submit.

On Mon, Apr 25, 2011 at 6:22 PM, <klimek@google.com> wrote:

> Reviewers: chandlerc1,
>
> Description:
> To be able to replay compilations we need to accurately remodel how
> includes get resolved, especially when they are found relatively to
> another include file. We also try to get it working for framework
> includes, but that part of the code is untested, as I don't have a code
> base that uses it.
>
> Please review this at http://codereview.appspot.com/4430065/
>
> Affected files:
>   M include/clang/Lex/DirectoryLookup.h
>   M include/clang/Lex/HeaderMap.h
>   M include/clang/Lex/HeaderSearch.h
>   M include/clang/Lex/PPCallbacks.h
>   M include/clang/Lex/PreprocessingRecord.h
>   M include/clang/Lex/Preprocessor.h
>   M lib/Lex/HeaderMap.cpp
>   M lib/Lex/HeaderSearch.cpp
>   M lib/Lex/PPDirectives.cpp
>   M lib/Lex/PPMacroExpansion.cpp
>   M lib/Lex/Pragma.cpp
>   M lib/Lex/PreprocessingRecord.cpp
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b