diff options
author | Ryan Lortie <desrt@desrt.ca> | 2010-10-06 22:40:40 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2010-10-06 22:41:33 +0200 |
commit | 05f30005613af4ad0be8bad2f06d15a7257586c0 (patch) | |
tree | 0e81fc31595780826020f8c3afebc5ab529c2c0c /vala/valasourcefile.vala | |
parent | a36fe4be766c0b5f14cd1bf1f75b9e2ddc77e76c (diff) | |
download | vala-05f30005613af4ad0be8bad2f06d15a7257586c0.tar.gz |
SourceFile: change the definition of 'used'
Consider a source file as used only if actual C code (or declarations)
have been generated from something in that source file.
This greatly reduces the number of dependencies listed for compilations
that touch a large number of symbols in trivial ways without really
making use of them (for example, when listing a very large number of
unused fast-vapi files, as parvala does).
Fixes bug 630144.
Diffstat (limited to 'vala/valasourcefile.vala')
-rw-r--r-- | vala/valasourcefile.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valasourcefile.vala b/vala/valasourcefile.vala index 28397cf4b..9bb225f40 100644 --- a/vala/valasourcefile.vala +++ b/vala/valasourcefile.vala @@ -69,7 +69,7 @@ public class Vala.SourceFile { /** * If the file has been used (ie: if anything in the file has - * been found by symbol resolution). + * been emitted into C code as a definition or declaration). */ public bool used { get; set; } |