]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
12 years agoCheck that included files' ctimes aren't too new.
Justin Lebar [Tue, 25 Dec 2012 04:09:14 +0000 (23:09 -0500)] 
Check that included files' ctimes aren't too new.

ccache currently checks that a file's mtime isn't too new, unless
CCACHE_SLOPPINESS includes "include_file_mtime".

This patch adds a similar check that a file's ctime isn't too new.  We
skip this check if CCACHE_SLOPPINESS includes "include_file_ctime".

12 years agoExtern time_of_compilation.
Justin Lebar [Mon, 24 Dec 2012 21:16:46 +0000 (16:16 -0500)] 
Extern time_of_compilation.

12 years agoMinor code style fix
Joel Rosdahl [Sat, 2 Mar 2013 19:33:41 +0000 (20:33 +0100)] 
Minor code style fix

12 years agoMerge branch 'maint'
Joel Rosdahl [Sat, 2 Mar 2013 19:33:34 +0000 (20:33 +0100)] 
Merge branch 'maint'

* maint:
  Improve execute() not to rely on special exit codes internally

Conflicts:
execute.c

12 years agoImprove execute() not to rely on special exit codes internally
Joel Rosdahl [Mon, 4 Feb 2013 21:24:08 +0000 (22:24 +0100)] 
Improve execute() not to rely on special exit codes internally

12 years agoFix compile error with Xcode 4.6
David Givone [Wed, 30 Jan 2013 07:59:22 +0000 (23:59 -0800)] 
Fix compile error with Xcode 4.6

static function ... is used in an inline function with external linkage
[-Werror,-Wstatic-in-inline] use 'static' to give inline function ... internal
linkage

12 years agoChange -x language option to use new objective c standard for gcc and clang
David Givone [Mon, 7 Jan 2013 06:20:24 +0000 (22:20 -0800)] 
Change -x language option to use new objective c standard for gcc and clang

When preprocessing objective-c[++] files, use -x objective-c-cpp-output or
-x objective-c++-cpp-output which is supported by gcc 4.0+ and clang.
Previously, -x objc-cpp-output or -x objc++-cpp-output was used, but not
supported by clang.

12 years agoMerge branch 'maint'
Joel Rosdahl [Tue, 8 Jan 2013 21:38:21 +0000 (22:38 +0100)] 
Merge branch 'maint'

* maint:
  Support -Xclang compiler option.

12 years agoSupport -Xclang compiler option.
Bernhard Bauer [Tue, 16 Aug 2011 08:23:55 +0000 (10:23 +0200)] 
Support -Xclang compiler option.

12 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 6 Jan 2013 17:01:39 +0000 (18:01 +0100)] 
Merge branch 'maint'

* maint:
  Prepare for v3.1.9

12 years agoPrepare for v3.1.9 v3.1.9
Joel Rosdahl [Sun, 6 Jan 2013 16:56:50 +0000 (17:56 +0100)] 
Prepare for v3.1.9

12 years agoMerge branch 'maint'
Joel Rosdahl [Sat, 5 Jan 2013 17:39:51 +0000 (18:39 +0100)] 
Merge branch 'maint'

* maint:
  Handle disappearing temporary stdout file gracefully
  Improve error reporting when failing to create stdout/stderr file in execute()
  Don't leak log file descriptor to executed commands
  Improve x_unlink's temporary filename

Conflicts:
ccache.c
execute.c
util.c

12 years agoHandle disappearing temporary stdout file gracefully
Joel Rosdahl [Sat, 5 Jan 2013 17:10:36 +0000 (18:10 +0100)] 
Handle disappearing temporary stdout file gracefully

If the temporary stdout file has disappeared, it's most likely because
another ccache process is doing cleanup on a too small cache.

12 years agoImprove error reporting when failing to create stdout/stderr file in execute()
Joel Rosdahl [Sat, 5 Jan 2013 17:08:36 +0000 (18:08 +0100)] 
Improve error reporting when failing to create stdout/stderr file in execute()

12 years agoDon't leak log file descriptor to executed commands
Joel Rosdahl [Sat, 5 Jan 2013 15:47:04 +0000 (16:47 +0100)] 
Don't leak log file descriptor to executed commands

12 years agoImprove x_unlink's temporary filename
Joel Rosdahl [Thu, 3 Jan 2013 16:51:10 +0000 (17:51 +0100)] 
Improve x_unlink's temporary filename

The XXXXXX part was unused.

12 years agoSpeed up copy4 and copy64 on little-endian systems
Andrew Stubbs [Tue, 1 Jan 2013 17:12:58 +0000 (18:12 +0100)] 
Speed up copy4 and copy64 on little-endian systems

The copy64 function implements an endian-safe copy routine for an array of
16 32-bit integers, but this is sub-optimal on machines where the
byte-order is already correct. Likewise for copy4.

This patch replaces the implementation with a simple memcpy when
appropriate, and retains the old implementation otherwise.

Note that the compiler will always inline calls to memcpy for small
byte-counts, so this is a big win.

12 years agoMinor cleanups
Joel Rosdahl [Tue, 1 Jan 2013 17:03:46 +0000 (18:03 +0100)] 
Minor cleanups

12 years agoAdd support for clang pth files
David Givone [Sat, 10 Nov 2012 17:43:11 +0000 (09:43 -0800)] 
Add support for clang pth files

* ccache will now recognize pth (pretokenized header) files that are used by clang and xcode
* added/fixed pch tests for clang by separating tests for gcc and clang

12 years agoMinor cleanups
Joel Rosdahl [Sun, 25 Nov 2012 21:22:44 +0000 (22:22 +0100)] 
Minor cleanups

12 years agoStore clang diagnostic file to cache
David Givone [Fri, 21 Sep 2012 07:19:55 +0000 (00:19 -0700)] 
Store clang diagnostic file to cache

Added support for clang's --serialize-diagnostic parameter. The diagnostics
file is now stored in the cache. Xcode uses this option when building.

12 years agotest: Consistently use $CCACHE_COMPILE in base_tests
Joel Rosdahl [Sun, 11 Nov 2012 20:53:01 +0000 (21:53 +0100)] 
test: Consistently use $CCACHE_COMPILE in base_tests

12 years agotest: Add safeguard against running test.sh in directories with spacy names
Joel Rosdahl [Sat, 10 Nov 2012 10:27:51 +0000 (11:27 +0100)] 
test: Add safeguard against running test.sh in directories with spacy names

12 years agoMinor code cleanup
Joel Rosdahl [Thu, 8 Nov 2012 20:27:40 +0000 (21:27 +0100)] 
Minor code cleanup

12 years agoDon't pass preprocessor options to compiler during second compilation phase
David Givone [Mon, 10 Sep 2012 00:08:15 +0000 (17:08 -0700)] 
Don't pass preprocessor options to compiler during second compilation phase

Fix for bug 8118.

Some (ie clang) give warnings for unused arguments. Arguments that are only
used during the preprocessing phase will cause warnings during the
compilation phase.

12 years agotest: Fix Solaris /bin/sh issue
Joel Rosdahl [Thu, 8 Nov 2012 19:54:31 +0000 (20:54 +0100)] 
test: Fix Solaris /bin/sh issue

12 years agoUpdate documentation about the direct mode default to match reality
Joel Rosdahl [Wed, 7 Nov 2012 19:25:58 +0000 (20:25 +0100)] 
Update documentation about the direct mode default to match reality

12 years agoAdd test case for check_for_temporal_macros
Joel Rosdahl [Sun, 4 Nov 2012 21:04:25 +0000 (22:04 +0100)] 
Add test case for check_for_temporal_macros

12 years agoDetect __DATE__ and __TIME__ correctly
Andrew Stubbs [Tue, 9 Oct 2012 14:17:19 +0000 (15:17 +0100)] 
Detect __DATE__ and __TIME__ correctly

The code to detect __DATE__ and __TIME__ was off-by-one, and therefore
totally failed to detect time macros unless by chance alignments (1 in eight
macros might be correctly aligned).

The problem is that the code expects that 'i' will point to the last
underscore, and the skip table expects 'i' to point to the point after
the end of the string. For example, if str[i] == 'E' then the skip table
moves 'i' on 3 bytes, whereas the code only works with a 2-byte skip.

I've corrected the problem by adjusting the table to match the code.

I've confirmed the tests still pass.

Signed-off-by: Andrew Stubbs <ams@codesourcery.com>
12 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 4 Nov 2012 10:41:42 +0000 (11:41 +0100)] 
Merge branch 'maint'

* maint:
  Don't create cache subdirectories in read-only mode

Conflicts:
ccache.c

12 years agoDon't create cache subdirectories in read-only mode
Joel Rosdahl [Sun, 4 Nov 2012 10:38:13 +0000 (11:38 +0100)] 
Don't create cache subdirectories in read-only mode

12 years agoDon't depend on $(LIBS) since some make flavors don't understand it
Joel Rosdahl [Wed, 31 Oct 2012 19:34:04 +0000 (20:34 +0100)] 
Don't depend on $(LIBS) since some make flavors don't understand it

12 years agoRemove superfluous "path" when printing primary/secondary config paths
Joel Rosdahl [Wed, 31 Oct 2012 19:18:08 +0000 (20:18 +0100)] 
Remove superfluous "path" when printing primary/secondary config paths

12 years agoDisable ccache for too hard compiler option -Wp,-P
Joel Rosdahl [Sun, 28 Oct 2012 16:27:23 +0000 (17:27 +0100)] 
Disable ccache for too hard compiler option -Wp,-P

12 years agoFix test suite failures when CC is a ccache-wrapped compiler
Joel Rosdahl [Sun, 14 Oct 2012 08:12:27 +0000 (10:12 +0200)] 
Fix test suite failures when CC is a ccache-wrapped compiler

CCACHE_DISABLE has to be used in order to ensure that the real compiler
will be run without ccache.

12 years agotest: Simply compare_file function
Joel Rosdahl [Mon, 8 Oct 2012 19:06:08 +0000 (21:06 +0200)] 
test: Simply compare_file function

12 years agoAdd object file comparison check for numerous tests
David Givone [Sun, 9 Sep 2012 23:55:37 +0000 (16:55 -0700)] 
Add object file comparison check for numerous tests

Comparing the output of ccache and direct compilation is a useful check to
make sure we are creating the same object file. It is especially useful
when performing 2 stage compilation like ccache does when CCACHE_CPP2 is
not set.

12 years agoLog strerror(errno) on failure to stat the compiler's stdout file
Joel Rosdahl [Sun, 7 Oct 2012 15:24:32 +0000 (17:24 +0200)] 
Log strerror(errno) on failure to stat the compiler's stdout file

12 years agoFix race condition when creating initial cache directory
David Givone [Fri, 21 Sep 2012 05:01:09 +0000 (22:01 -0700)] 
Fix race condition when creating initial cache directory

12 years agoFix developer mode detection
Joel Rosdahl [Sun, 23 Sep 2012 09:32:35 +0000 (11:32 +0200)] 
Fix developer mode detection

This broke in 81714b62b50563055faf301f5e4faec6652a426b.

12 years agoFind test case files in out-of-source-dir builds as well
Joel Rosdahl [Sat, 22 Sep 2012 12:31:55 +0000 (14:31 +0200)] 
Find test case files in out-of-source-dir builds as well

12 years agoMerge branch 'maint'
Joel Rosdahl [Mon, 17 Sep 2012 19:30:24 +0000 (21:30 +0200)] 
Merge branch 'maint'

* maint:
  Fix bug testing with ecryptfs

12 years agoFix bug testing with ecryptfs
Andrew Stubbs [Mon, 10 Sep 2012 13:57:23 +0000 (14:57 +0100)] 
Fix bug testing with ecryptfs

The test script assumes that zero-length files take up zero disk space,
that the block size is 4k, and that the disk usage will be the file size
rounded up to the nearest block size. Unfortunately these were not true for
ecryptfs.

Additionally, running the test.sh from another directory did not work due
to a bad location assumption in another test.

12 years agoMerge branch 'maint'
Joel Rosdahl [Thu, 13 Sep 2012 19:51:56 +0000 (21:51 +0200)] 
Merge branch 'maint'

* maint:
  Handle EAGAIN during copy_fd

12 years agoOnly clean dist generate targets when using distclean
David Givone [Mon, 10 Sep 2012 00:28:37 +0000 (17:28 -0700)] 
Only clean dist generate targets when using distclean

Some file are only generated when making a distribute, such as docs, and should
only be cleaned when using the distclean target. If we clean the docs with the
normal clean target then when using the Makefile with the distributed source
code will lead to an error if you configure, make, make clean, and then make
again.

12 years agoImprove dev.mk to be more platform independent
David Givone [Mon, 3 Sep 2012 22:09:52 +0000 (15:09 -0700)] 
Improve dev.mk to be more platform independent

The dev.mk was improved to allow for the make dist to work on mac os x:

1) asciidoc may not always be install to /etc, so also check /usr/local/etc
2) --parents parameter for cp does not work on mac so use rsync --relative
3) replaced -a tar flag with somesomething that should work across
   platforms

12 years agoFix issue to handle the -arch compiler option with arg
David Givone [Sun, 2 Sep 2012 22:49:12 +0000 (15:49 -0700)] 
Fix issue to handle the -arch compiler option with arg

ccache was logging a warning on Mac since the -arch option always has a
argument.

12 years agoDon't make -lz an explicit dependency if there is a system zlib
Joel Rosdahl [Thu, 13 Sep 2012 18:40:18 +0000 (20:40 +0200)] 
Don't make -lz an explicit dependency if there is a system zlib

12 years agoMake test suite work with clang and gcc-llvm on Mac OS X
David Givone [Tue, 4 Sep 2012 03:57:00 +0000 (20:57 -0700)] 
Make test suite work with clang and gcc-llvm on Mac OS X

Numerous fixes so that clang and gcc-llvm from Xcode 4 can successfully
complete

Various variables were also added to simplify conditional statements.

12 years agoAdd the primary and secondary conf file path when printing stats
David Givone [Sun, 2 Sep 2012 22:39:30 +0000 (15:39 -0700)] 
Add the primary and secondary conf file path when printing stats

12 years agoHandle EAGAIN during copy_fd
Alfred Landrum [Fri, 7 Sep 2012 18:39:26 +0000 (20:39 +0200)] 
Handle EAGAIN during copy_fd

In util.c, write may return EAGAIN if the file descriptor is a full pipe.
Currently, if this occurs, the log message "ccache: FATAL: Failed to copy fd"
is printed and ccache exits. We've seen this locally when the recorded stderr
output was exceptionally large due to many compilation warnings.

12 years agoUpdate manual on why the direct mode is off by default
Joel Rosdahl [Fri, 7 Sep 2012 18:30:02 +0000 (20:30 +0200)] 
Update manual on why the direct mode is off by default

13 years agoMerge branch 'maint'
Joel Rosdahl [Sat, 11 Aug 2012 09:09:41 +0000 (11:09 +0200)] 
Merge branch 'maint'

* maint:
  Prepare for v3.1.8
  Use C89-style comments
  Add quicktest Makefile target

Conflicts:
AUTHORS.txt
Makefile.in
test/test_hashutil.c

13 years agoPrepare for v3.1.8 v3.1.8
Joel Rosdahl [Sat, 11 Aug 2012 09:02:05 +0000 (11:02 +0200)] 
Prepare for v3.1.8

13 years agoUse C89-style comments
Joel Rosdahl [Sat, 11 Aug 2012 09:01:34 +0000 (11:01 +0200)] 
Use C89-style comments

13 years agoAdd quicktest Makefile target
Joel Rosdahl [Sat, 11 Aug 2012 09:01:16 +0000 (11:01 +0200)] 
Add quicktest Makefile target

13 years agoMerge branch 'maint'
Joel Rosdahl [Thu, 9 Aug 2012 13:10:36 +0000 (15:10 +0200)] 
Merge branch 'maint'

* maint:
  Rename static_assert macro to avoid clash with any preexisting static_assert

Conflicts:
manifest.c

13 years agoRename static_assert macro to avoid clash with any preexisting static_assert
Joel Rosdahl [Thu, 9 Aug 2012 13:09:16 +0000 (15:09 +0200)] 
Rename static_assert macro to avoid clash with any preexisting static_assert

13 years agoRemove any previous .stderr from cache if recaching
Joel Rosdahl [Thu, 9 Aug 2012 13:04:26 +0000 (15:04 +0200)] 
Remove any previous .stderr from cache if recaching

13 years agoMove log "running preprocessor" to a more appropriate place
Joel Rosdahl [Wed, 8 Aug 2012 20:43:20 +0000 (22:43 +0200)] 
Move log "running preprocessor" to a more appropriate place

13 years agoLet args_init_from_gcc_atfile split on carriage return as well
Joel Rosdahl [Wed, 8 Aug 2012 16:56:56 +0000 (18:56 +0200)] 
Let args_init_from_gcc_atfile split on carriage return as well

13 years agoAdd quicktest Makefile target
Joel Rosdahl [Wed, 8 Aug 2012 16:55:44 +0000 (18:55 +0200)] 
Add quicktest Makefile target

13 years agoImprove log messages of x_unlink and tmp_unlink
Joel Rosdahl [Wed, 8 Aug 2012 14:12:58 +0000 (16:12 +0200)] 
Improve log messages of x_unlink and tmp_unlink

13 years agoFix coding style
Joel Rosdahl [Wed, 8 Aug 2012 14:09:55 +0000 (16:09 +0200)] 
Fix coding style

13 years agoInclude ccache version in the debug log
Joel Rosdahl [Wed, 8 Aug 2012 14:05:17 +0000 (16:05 +0200)] 
Include ccache version in the debug log

13 years agoInclude more files in dist to comply with GPL's "preferred form" clause
Joel Rosdahl [Wed, 8 Aug 2012 14:00:46 +0000 (16:00 +0200)] 
Include more files in dist to comply with GPL's "preferred form" clause

13 years agoExpand file lists in dev.mk.in to make it easier to add and sort the items
Joel Rosdahl [Wed, 8 Aug 2012 13:57:37 +0000 (15:57 +0200)] 
Expand file lists in dev.mk.in to make it easier to add and sort the items

13 years agoReorder build options to guarantee usage of bundled zlib headers and libraries
Joel Rosdahl [Tue, 7 Aug 2012 19:26:29 +0000 (21:26 +0200)] 
Reorder build options to guarantee usage of bundled zlib headers and libraries

13 years agoAdd --with-bundled-zlib configure option
Joel Rosdahl [Tue, 7 Aug 2012 18:50:02 +0000 (20:50 +0200)] 
Add --with-bundled-zlib configure option

Based on a suggestion by Patrick von Reth <vonreth@kde.org>.

13 years agoMerge branch 'maint'
Joel Rosdahl [Tue, 7 Aug 2012 15:22:21 +0000 (17:22 +0200)] 
Merge branch 'maint'

* maint:
  make git version macro work if compiled outside of src dir

13 years agoLet cc_process_args work on a copy of orig_args
Joel Rosdahl [Tue, 7 Aug 2012 15:22:16 +0000 (17:22 +0200)] 
Let cc_process_args work on a copy of orig_args

This way, orig_args is preserved after expansion of "@file" arguments so
that failed() can mimick the original compilation command.

13 years agoFix typo and coding style
Joel Rosdahl [Tue, 7 Aug 2012 15:12:33 +0000 (17:12 +0200)] 
Fix typo and coding style

13 years agoAvoid "orig_args" parameters to separate them from the global variable
Joel Rosdahl [Tue, 7 Aug 2012 15:05:13 +0000 (17:05 +0200)] 
Avoid "orig_args" parameters to separate them from the global variable

13 years agoadd support for '@' parameters
Boie, Andrew P [Mon, 6 Aug 2012 23:30:55 +0000 (16:30 -0700)] 
add support for '@' parameters

These indicate to the compiler that additional command line options
should be read from a text file. If encountered, read the file,
tokenize any arguments, and if any are found, do an in-place replacement
of the '@' parameter with the arguments within the file.

args_insert() added to insert a set of arguments into a position within
another set of arguments.

args_init_from_gcc_atfile() reads and processes the argument files using the
quoting/escape conventions that GCC expects.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
13 years agomake git version macro work if compiled outside of src dir
Patrick von Reth [Thu, 2 Aug 2012 10:58:22 +0000 (12:58 +0200)] 
make git version macro work if compiled outside of src dir

13 years agoRevert "add support for '@' parameters"
Joel Rosdahl [Wed, 1 Aug 2012 14:24:29 +0000 (16:24 +0200)] 
Revert "add support for '@' parameters"

This reverts commit e11912151cadc8d77edd8071c23c4366cc007bfb, which was
pushed erroneously.

13 years agoRequire Windows Vista or later for win32 builds
Joel Rosdahl [Wed, 1 Aug 2012 12:34:28 +0000 (14:34 +0200)] 
Require Windows Vista or later for win32 builds

Based on information from Patrick von Reth <patrick.vonreth@gmail.com>.

13 years agoImplement x_realpath for Windows
Patrick von Reth [Tue, 31 Jul 2012 12:58:02 +0000 (14:58 +0200)] 
Implement x_realpath for Windows

13 years agoadd support for '@' parameters
Boie, Andrew P [Tue, 31 Jul 2012 00:50:33 +0000 (17:50 -0700)] 
add support for '@' parameters

These indicate to the compiler that additional command line options
should be read from a text file. If encountered, read the file,
tokenize any arguments, and if any are found, do an in-place replacement
of the '@' parameter with the arguments within the file.

args_insert() added to insert a set of arguments into a position within
another set of arguments.

args_init_from_string() has been improved so that any character may be
included by prefixing that character with a backslash, and support for
quoted arguments which pass special characters within the quotation marks
unmodified.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
13 years agoMerge branch 'maint'
Joel Rosdahl [Mon, 30 Jul 2012 20:24:26 +0000 (22:24 +0200)] 
Merge branch 'maint'

* maint:
  hash also Clang plugins

13 years agohash also Clang plugins
Lubos Lunak [Thu, 26 Jul 2012 12:45:16 +0000 (14:45 +0200)] 
hash also Clang plugins

13 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 29 Jul 2012 21:27:31 +0000 (23:27 +0200)] 
Merge branch 'maint'

* maint:
  Simplify generation of relative automatic dependency target
  Minor code cleanup
  Add test for rewriting of absolute dependency arguments
  Make dependency arguments relative to increase cache hits
  Correct doc string of make_relative_path

Conflicts:
ccache.c

13 years agoSimplify generation of relative automatic dependency target
Joel Rosdahl [Sun, 29 Jul 2012 21:11:10 +0000 (23:11 +0200)] 
Simplify generation of relative automatic dependency target

13 years agoMinor code cleanup
Joel Rosdahl [Sun, 29 Jul 2012 21:01:29 +0000 (23:01 +0200)] 
Minor code cleanup

13 years agoAdd test for rewriting of absolute dependency arguments
Joel Rosdahl [Sun, 29 Jul 2012 20:53:20 +0000 (22:53 +0200)] 
Add test for rewriting of absolute dependency arguments

13 years agoMake dependency arguments relative to increase cache hits
Lalit Chhabra [Sun, 29 Jul 2012 20:52:51 +0000 (22:52 +0200)] 
Make dependency arguments relative to increase cache hits

13 years agoCorrect doc string of make_relative_path
Joel Rosdahl [Sun, 29 Jul 2012 20:07:44 +0000 (22:07 +0200)] 
Correct doc string of make_relative_path

13 years agoIgnore git's merge conflict files when finding unit tests
Joel Rosdahl [Sat, 28 Jul 2012 15:17:58 +0000 (17:17 +0200)] 
Ignore git's merge conflict files when finding unit tests

13 years agoMerge branch 'maint'
Joel Rosdahl [Sat, 28 Jul 2012 15:17:25 +0000 (17:17 +0200)] 
Merge branch 'maint'

* maint:
  Improve get_relative_path and add unit tests
  Canonicalize paths when computing path relative to base directory

Conflicts:
test/test_util.c
util.c

13 years agoImprove get_relative_path and add unit tests
Joel Rosdahl [Sat, 28 Jul 2012 09:50:06 +0000 (11:50 +0200)] 
Improve get_relative_path and add unit tests

13 years agoCanonicalize paths when computing path relative to base directory
Joel Rosdahl [Fri, 27 Jul 2012 13:59:13 +0000 (15:59 +0200)] 
Canonicalize paths when computing path relative to base directory

This fixes a bug when current working directory contains a "/./" part.

Based on a patch by Eric Blau.

13 years agoRemove redundant code
Joel Rosdahl [Sat, 14 Jul 2012 20:07:32 +0000 (22:07 +0200)] 
Remove redundant code

13 years agoReduce scope of result variables
Joel Rosdahl [Sat, 14 Jul 2012 19:36:02 +0000 (21:36 +0200)] 
Reduce scope of result variables

13 years agoFix coding style
Joel Rosdahl [Fri, 13 Jul 2012 20:48:50 +0000 (22:48 +0200)] 
Fix coding style

13 years agodo not pass incorrect length to remember_include_file()
Luboš Luňák [Fri, 6 Jul 2012 16:46:25 +0000 (18:46 +0200)] 
do not pass incorrect length to remember_include_file()

13 years agohash clang's .pch file explicitly
Luboš Luňák [Fri, 6 Jul 2012 16:45:05 +0000 (18:45 +0200)] 
hash clang's .pch file explicitly

It does not appear anywhere in the preprocessed output, so
process_preprocessed_file() would miss it.

13 years agosupport for precompiled headers with clang
Luboš Luňák [Fri, 6 Jul 2012 16:09:36 +0000 (18:09 +0200)] 
support for precompiled headers with clang

Support the clang-specific -include-pch option, which references
the PCH file itself, and support the .pch extension when using
the gcc -include way.

13 years agoAvoid overflowing counter when converting obsolete max size
Joel Rosdahl [Tue, 3 Jul 2012 09:52:37 +0000 (11:52 +0200)] 
Avoid overflowing counter when converting obsolete max size

13 years agoAvoid overflowing calculation of large max size counter
Joel Rosdahl [Tue, 3 Jul 2012 09:44:55 +0000 (11:44 +0200)] 
Avoid overflowing calculation of large max size counter

13 years agoRevert mistakenly merged parts of 27f2ba9a15c16b226f5223dd81c28ea766f8f9ca
Joel Rosdahl [Fri, 1 Jun 2012 06:38:41 +0000 (08:38 +0200)] 
Revert mistakenly merged parts of 27f2ba9a15c16b226f5223dd81c28ea766f8f9ca