Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(56)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 4449067: Moves clang-check from examples/Tooling into tools

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by klimek
Modified:
14 years, 8 months ago
Reviewers:
chandlerc, chandlerc1, thakis, clattner
CC:
cfe-commits_cs.uiuc.edu
Visibility:
Public.
Looks like it should have been there all along - clang-check is a useful tool for quick feedback editor-integration.

Patch Set 1 #

Created: 14 years, 8 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+-1 lines, --1 lines) Patch
M examples/CMakeLists.txt View 1 chunk +0 lines, -1 line 0 comments Download
M tools/CMakeLists.txt View 1 chunk +1 line, -0 lines 0 comments Download
A + tools/clang-check/CMakeLists.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/clang-check/ClangCheck.cpp View 0 chunks +-1 lines, --1 lines 0 comments Download
Total messages: 6
|
klimek
14 years, 8 months ago (2011年04月28日 20:57:52 UTC) #1
Sign in to reply to this message.
clattner_apple.com
On Apr 28, 2011, at 1:57 PM, klimek@google.com wrote: > Reviewers: chandlerc, > > Description: ...
14 years, 8 months ago (2011年04月28日 21:03:44 UTC) #2
On Apr 28, 2011, at 1:57 PM, klimek@google.com wrote:
> Reviewers: chandlerc,
> 
> Description:
> Looks like it should have been there all along - clang-check is a useful
> tool for quick feedback editor-integration.
> 
> Please review this at http://codereview.appspot.com/4449067/
One of the reasons that it isn't in tools is that we don't want to build it all
the time. The incremental cost of linking all the libraries into
yet-another-tool is quite high. Why is this useful?
-Chris
Sign in to reply to this message.
klimek
On Thu, Apr 28, 2011 at 2:03 PM, Chris Lattner <clattner@apple.com> wrote: > > On ...
14 years, 8 months ago (2011年04月28日 21:23:14 UTC) #3
On Thu, Apr 28, 2011 at 2:03 PM, Chris Lattner <clattner@apple.com> wrote:
>
> On Apr 28, 2011, at 1:57 PM, klimek@google.com wrote:
>
>> Reviewers: chandlerc,
>>
>> Description:
>> Looks like it should have been there all along - clang-check is a useful
>> tool for quick feedback editor-integration.
>>
>> Please review this at http://codereview.appspot.com/4449067/
>
> One of the reasons that it isn't in tools is that we don't want to build it
all the time. The incremental cost of linking all the libraries into
yet-another-tool is quite high. Why is this useful?
From our experience at Google this is one of the favorite tools of our
developers, as it allows fast feedback while coding from vi or emacs
without the need to invoke the build.
Cheers,
/Manuel
Sign in to reply to this message.
chandlerc1
On Thu, Apr 28, 2011 at 2:23 PM, Manuel Klimek <klimek@google.com> wrote: > On Thu, ...
14 years, 8 months ago (2011年04月28日 21:28:04 UTC) #4
On Thu, Apr 28, 2011 at 2:23 PM, Manuel Klimek <klimek@google.com> wrote:
> On Thu, Apr 28, 2011 at 2:03 PM, Chris Lattner <clattner@apple.com> wrote:
> >
> > On Apr 28, 2011, at 1:57 PM, klimek@google.com wrote:
> >
> >> Reviewers: chandlerc,
> >>
> >> Description:
> >> Looks like it should have been there all along - clang-check is a useful
> >> tool for quick feedback editor-integration.
> >>
> >> Please review this at http://codereview.appspot.com/4449067/
> >
> > One of the reasons that it isn't in tools is that we don't want to build
> it all the time. The incremental cost of linking all the libraries into
> yet-another-tool is quite high. Why is this useful?
>
> >From our experience at Google this is one of the favorite tools of our
> developers, as it allows fast feedback while coding from vi or emacs
> without the need to invoke the build.
Yea, in particular, this was seen as a really killer tool when folks rigged
up a ":clang_check" vim or emacs command that would invoke it on the file in
the current buffer after a quick save. It's basically a way to get the
"clang compile" button of xcode into other environments.
That said, if its slowing down builds, is there a way we can mark specific
tools as optional? It seems more important to have the code and the tool be
discoverable in the tree than be built every time if people aren't using
it...
Sign in to reply to this message.
thakis
On Thu, Apr 28, 2011 at 2:03 PM, Chris Lattner <clattner@apple.com> wrote: > > On ...
14 years, 8 months ago (2011年04月30日 03:15:49 UTC) #5
On Thu, Apr 28, 2011 at 2:03 PM, Chris Lattner <clattner@apple.com> wrote:
>
> On Apr 28, 2011, at 1:57 PM, klimek@google.com wrote:
>
>> Reviewers: chandlerc,
>>
>> Description:
>> Looks like it should have been there all along - clang-check is a useful
>> tool for quick feedback editor-integration.
>>
>> Please review this at http://codereview.appspot.com/4449067/
>
> One of the reasons that it isn't in tools is that we don't want to build it
all the time. The incremental cost of linking all the libraries into
yet-another-tool is quite high. Why is this useful?
Hi Chris,
I don't care either way which way this goes, I'd just like to point
out that building this binary takes a whopping 1.5s on my underpowered
MBP:
s$ time make
llvm[0]: Compiling ClangCheck.cpp for Release+Asserts build
llvm[0]: Linking Release+Asserts executable clang-check (without symbols)
llvm[0]: ======= Finished Linking Release+Asserts Executable
clang-check (without symbols)
real	0m1.599s
user	0m1.239s
sys	0m0.327s
Nico
>
> -Chris
> _______________________________________________
> 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.
klimek
I guess all the arguments are on the table - Chris, what do you think? ...
14 years, 8 months ago (2011年05月02日 20:48:40 UTC) #6
I guess all the arguments are on the table - Chris, what do you think?
Thanks,
/Manuel
On Fri, Apr 29, 2011 at 8:15 PM, Nico Weber <thakis@chromium.org> wrote:
> On Thu, Apr 28, 2011 at 2:03 PM, Chris Lattner <clattner@apple.com> wrote:
>>
>> On Apr 28, 2011, at 1:57 PM, klimek@google.com wrote:
>>
>>> Reviewers: chandlerc,
>>>
>>> Description:
>>> Looks like it should have been there all along - clang-check is a useful
>>> tool for quick feedback editor-integration.
>>>
>>> Please review this at http://codereview.appspot.com/4449067/
>>
>> One of the reasons that it isn't in tools is that we don't want to build it
all the time. The incremental cost of linking all the libraries into
yet-another-tool is quite high. Why is this useful?
>
> Hi Chris,
>
> I don't care either way which way this goes, I'd just like to point
> out that building this binary takes a whopping 1.5s on my underpowered
> MBP:
>
> s$ time make
> llvm[0]: Compiling ClangCheck.cpp for Release+Asserts build
> llvm[0]: Linking Release+Asserts executable clang-check (without symbols)
> llvm[0]: ======= Finished Linking Release+Asserts Executable
> clang-check (without symbols)
>
> real  0m1.599s
> user  0m1.239s
> sys   0m0.327s
>
>
> Nico
>
>>
>> -Chris
>> _______________________________________________
>> 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

AltStyle によって変換されたページ (->オリジナル) /