Граф коммитов

130 Коммитов

Автор SHA1 Сообщение Дата
Eli Friedman 47421a2dda As far as I know, there aren't any warning differences between -std=gnu99 and
-std=c99 modes, etc.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80133 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-26 20:18:00 +00:00
Daniel Dunbar 93d2dc4882 Fix a few typos.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78991 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-14 04:43:04 +00:00
Chris Lattner 3401cf879f document the diagnostics pragmas, patch by Louis Gerbarg!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75432 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-12 21:22:10 +00:00
Argyrios Kyrtzidis 7240d77c96 Add documentation for the Index library to clang's web page.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75222 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-10 03:41:36 +00:00
Douglas Gregor e650c8c3bc Introduce the notion of "Relocatable" precompiled headers, which are built
with a particular system root directory and can be used with a different
system root directory when the headers it depends on have been installed.
Relocatable precompiled headers rewrite the file names of the headers used
when generating the PCH file into the corresponding file names of the 
headers available when using the PCH file.

Addresses <rdar://problem/7001604>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74885 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-07 00:12:59 +00:00
Nick Lewycky 625b5864b5 Fix "for all intensive purposes" to "for all intents and purposes".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73323 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-14 04:08:08 +00:00
Chris Lattner e42ec54dff fix typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73304 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-13 20:35:58 +00:00
Chris Lattner 57eccbea12 a couple minor tweaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73296 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-13 18:11:10 +00:00
Chris Lattner 148772a841 implement and document a new __has_feature and __has_builtin magic
builtin preprocessor macro.  This appears to work with two caveats:
1) builtins are registered in -E mode, and 2) target-specific builtins
are unconditionally registered even if they aren't supported by the
target (e.g. SSE4 builtin when only SSE1 is enabled).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73289 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-13 07:13:28 +00:00
Eli Friedman 0b32600195 Minor formatting tweak.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73251 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 20:11:05 +00:00
Eli Friedman 2f3fca0fe1 Fix a minor formatting mistake.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73250 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 20:08:48 +00:00
Eli Friedman ca130bd838 Some updates to the gcc extension sections of the users manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73249 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12 20:04:25 +00:00
Eli Friedman a1821b5f8b Minor documentation update about Microsoft extensions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73052 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-08 06:21:03 +00:00
Eli Friedman 3b658d3ecb Say a bit about various architectures in the users manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73044 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-08 05:12:39 +00:00
Daniel Dunbar c5f928ca2a Mention unsupported GCC duplicate-definition-with-inline extension.
Also, link users manual from the main web page.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72878 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04 18:37:52 +00:00
Douglas Gregor f4d5953135 PTH -> PCH in the user manual
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72815 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 22:37:00 +00:00
Douglas Gregor 29dde39ae4 HTML tweak to get the PCH internals documentation to display correctly
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72813 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:57:43 +00:00
Douglas Gregor 4c0397fe14 Finished the PCH design and implementation documentation
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72812 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:55:35 +00:00
Douglas Gregor 0084ead1f8 Document the integration points for precompiled headers
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72809 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:41:31 +00:00
Douglas Gregor 923cb23eab Add a table of contents to the PCH design document
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72791 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 18:35:59 +00:00
Douglas Gregor fe3f223de8 Document the PCH representation of statements and expressions
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72790 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 18:26:16 +00:00
Douglas Gregor 5accbb99ef Fill in some gaps in the precompiled headers documentation
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72779 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 16:06:22 +00:00
Douglas Gregor 2cc390e620 More PCH documentation
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72743 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-02 22:08:07 +00:00
Eli Friedman 4da925578a A couple minor corrections to the "GCC extensions not implemented yet"
section of the users manual.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72725 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-02 08:21:31 +00:00
Eli Friedman 26fa0edd63 A few tweaks to the "Differences between various standard modes"
section.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72501 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-27 23:02:57 +00:00
Douglas Gregor 32110dfd1c Start documenting precompiled headers
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72146 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-20 00:16:32 +00:00
Daniel Dunbar 94f497b072 Several fixes to the clang man page.
- -emit-llvm isn't a stage selection option.

 - Document -O4 and -flto.

 - -ObjC++ and -ObjC apply to all inputs, not subsequent ones.

 - Some versions of pod2man aren't happy about the comment after =over=?

 - Some minor grammar fixes.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72044 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-18 21:34:46 +00:00
Eli Friedman b0ac545b84 A few minor updates to the user manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71964 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-16 23:17:30 +00:00
Daniel Dunbar 9375ed13dc Note that clang follows the MSVC definition for #pragma pack.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71725 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-13 21:40:49 +00:00
Daniel Dunbar 869e05406e Tweak wording
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71611 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-13 00:23:53 +00:00
Daniel Dunbar 05fa629c9f Note a few more unsupported language extensions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71607 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-12 23:12:07 +00:00
Chris Lattner 06ab044127 wrap up a version of the man page that is minimally helpful, but somewhat complete.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71524 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-12 00:47:40 +00:00
Chris Lattner 04005ddfe1 add some more content.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71518 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-12 00:01:32 +00:00
Chris Lattner 482c682256 pull a bunch of options out of clang-cc.cpp. This doesn't include
options that the driver swizzles.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71487 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-11 22:45:37 +00:00
Daniel Dunbar e58c943441 Document environment variables we handle, and don't mention -pipe (it
isn't yet supported... lazy developers).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71109 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 19:18:09 +00:00
Chris Lattner 9b081c6696 More content.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71088 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 17:22:08 +00:00
Chris Lattner b5f6e808e2 add some content
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71059 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 02:47:51 +00:00
Daniel Dunbar a3c078ee57 Override some pod2man defaults.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71045 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 00:10:37 +00:00
Chris Lattner a021e7c4ce 257 -> FS
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70996 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-05 18:54:47 +00:00
Daniel Dunbar 632975b0be Make install target actually work, dependencies FTW.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70599 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-01 23:34:58 +00:00
Daniel Dunbar e0a809265c Add ONLY_MAN_DOCS variable to only install the man page, not the html
and ps documentation.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70589 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-01 23:11:42 +00:00
Daniel Dunbar dbec033d4d Add incredibly bare bones docs/tools.
- Mirroring LLVM's docs/CommandGuide, a place to put .pod files which
   are used to generate man/html/etc documentation for tools provided
   as part of clang.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70355 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-29 01:00:32 +00:00
Eli Friedman 660a5ac8ec Add some text to the user manual describing the current state of C
support in clang.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70314 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-28 18:48:34 +00:00
Ted Kremenek bf94ca68bd Grammar fix.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69682 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-21 17:14:24 +00:00
Chris Lattner 2a9cc237dc document new form of -fdiagnostics-print-source-range-in
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69663 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-21 05:35:32 +00:00
Zhongxing Xu 4a115519ff update the doc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69587 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-20 10:09:10 +00:00
Chris Lattner 8217f4ed9c more stuff.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69576 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-20 06:26:18 +00:00
Chris Lattner 65a795bb30 add a bunch of diagnostics options, add one example warning group.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69573 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-20 06:00:23 +00:00
Chris Lattner 5c3074f3cd slurp some content from the PTH doc into the user's doc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69569 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-20 04:37:38 +00:00
Chris Lattner cf17d9d9c0 initial skeleton of a user's manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69568 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-20 04:23:09 +00:00