Richard Trieu
c605844510
Update the %diff modifer to have an alternate string print when a template tree
...
is selected. This will allow more flexibility when converting diagnostics to
use template type diffing.
Also updated the internal manual and test cases for correctly keeping the bold
attribute and for tree printing.
llvm-svn: 159463
2012-06-29 21:12:16 +00:00
Hans Wennborg
f60f6af9e8
Add -ftls-model command-line flag.
...
This allows for setting the default TLS model. (PR9788)
llvm-svn: 159336
2012-06-28 08:01:44 +00:00
Richard Trieu
65ce36b45f
Add missing words to manual.
...
llvm-svn: 159251
2012-06-27 02:36:34 +00:00
Richard Trieu
e753f4bebd
Update documentation with regards to template type diffing.
...
llvm-svn: 159249
2012-06-27 02:00:20 +00:00
Hans Wennborg
d3b01bc7c6
Support the tls_model attribute (PR9788)
...
This adds support for the tls_model attribute. This allows the user to
choose a TLS model that is better than what LLVM would select by
default. For example, a variable might be declared as:
__thread int x __attribute__((tls_model("initial-exec")));
if it will not be used in a shared library that is dlopen'ed.
This depends on LLVM r159077.
llvm-svn: 159078
2012-06-23 11:51:46 +00:00
Alexey Samsonov
caef7e813b
Add release note about -gline-tables-only flag
...
llvm-svn: 158989
2012-06-22 11:18:10 +00:00
Fariborz Jahanian
9563a053de
document _has_feature(objc_default_synthesize_properties).
...
// rdar://11676972
llvm-svn: 158665
2012-06-18 17:13:17 +00:00
Anna Zaks
f5cad928f5
Make the analyzer site a single point of reference for info
...
on controlling diagnostics.
llvm-svn: 158581
2012-06-16 00:30:21 +00:00
Richard Smith
8acadcb84b
Add -isystem-prefix and -ino-system-prefix arguments, which can be used to
...
override whether headers are system headers by checking for prefixes of the
header name specified in the #include directive.
This allows warnings to be disabled for third-party code which is found in
specific subdirectories of include paths.
llvm-svn: 158418
2012-06-13 20:27:03 +00:00
Manuel Klimek
b4603f4dc3
Doc fixed as proposed (and mostly contributed) by David Roethlisberger.
...
llvm-svn: 158415
2012-06-13 19:40:46 +00:00
Michael Han
d17deb5bf6
Update clang attribute document.
...
Remove the instructions on manually adding boilerplate code of AttributeList::Kind and AttributeList::getKind().
Both are now generated by tblgen.
llvm-svn: 158386
2012-06-13 03:51:05 +00:00
Manuel Klimek
6d6baa88f6
Add documentation for the JSON compilation database format.
...
llvm-svn: 158365
2012-06-12 17:51:04 +00:00
Manuel Klimek
9cc3c0307d
Puts the linktime dependencies into stupid-ld-required order, as proposed by Jordan Rose.
...
llvm-svn: 158113
2012-06-06 21:30:34 +00:00
Manuel Klimek
a98032e4cf
Documents linking requirements for libtooling.
...
llvm-svn: 158088
2012-06-06 17:51:31 +00:00
Nico Weber
4d2d33f3ba
Document how fixits on errors and warnings must behave.
...
Review and wording tweaks by Richard.
llvm-svn: 157953
2012-06-04 21:56:14 +00:00
Benjamin Kramer
474261af7b
Fix typos found by http://github.com/lyda/misspell-check
...
llvm-svn: 157886
2012-06-02 10:20:41 +00:00
Alexey Samsonov
731eb477c1
Clang docs update: list command-line flags that control the size of generated debug information. Reviewed by chandlerc@ and echristo@.
...
llvm-svn: 157681
2012-05-30 06:55:10 +00:00
Dmitri Gribenko
34983f25c6
Close HTML tag properly.
...
llvm-svn: 157533
2012-05-27 14:08:44 +00:00
Richard Smith
1bb8edb8ac
In response to some discussions on IRC, tweak the wording of the new
...
-Wsometimes-uninitialized diagnostics to make it clearer that the cause
of the issue may be a condition which must always evaluate to true or
false, rather than an uninitialized variable.
To emphasize this, add a new note with a fixit which removes the
impossible condition or replaces it with a constant.
Also, downgrade the diagnostic from -Wsometimes-uninitialized to
-Wconditional-uninitialized when it applies to a range-based for loop,
since the condition is not written explicitly in the code in that case.
llvm-svn: 157511
2012-05-26 06:20:46 +00:00
Richard Smith
cff136cda8
Release notes update for -Wsometimes-uninitialized.
...
llvm-svn: 157459
2012-05-25 02:35:34 +00:00
Manuel Klimek
24c4805b3b
Adds menu sidebar to the docs.
...
llvm-svn: 157399
2012-05-24 17:16:23 +00:00
Manuel Klimek
b76810fa94
Updates the tooling docs with the links to the tutorials and
...
adds the menu include.
llvm-svn: 157397
2012-05-24 17:09:10 +00:00
Manuel Klimek
3115e3d171
Adds a tutorial for how to write clang plugins.
...
llvm-svn: 157396
2012-05-24 17:07:18 +00:00
Bill Wendling
2495bca543
Remove 3.1 release notes to get ready for current development cycle.
...
llvm-svn: 157379
2012-05-24 06:42:56 +00:00
Kostya Serebryany
eddc05abfc
[tsan] grammar fixes
...
llvm-svn: 156984
2012-05-17 08:49:14 +00:00
Kostya Serebryany
e8d0a0bf5c
[tsan] fix typo
...
llvm-svn: 156912
2012-05-16 08:19:13 +00:00
Kostya Serebryany
f30e08d218
[tsan] first version of ThreadSanitizer docs
...
llvm-svn: 156910
2012-05-16 08:14:36 +00:00
Argyrios Kyrtzidis
da6d7679e8
Add documentation about boxing enum types and a codegen test to make
...
sure we pick up the underlying type, per suggestion by Fariborz.
No functionality change.
llvm-svn: 156851
2012-05-15 20:45:35 +00:00
David Chisnall
ab5edc3e89
Add a note about atomic builtins to c11 section of release notes.
...
llvm-svn: 156820
2012-05-15 13:18:03 +00:00
Jean-Daniel Dupas
a8bfc41ea7
Fix Xcode case (Upper X, lower c)
...
llvm-svn: 156742
2012-05-13 14:32:11 +00:00
Gregory Szorc
dcbc96705d
Add Python binding info to release notes
...
llvm-svn: 156721
2012-05-12 20:45:56 +00:00
Chris Lattner
40a97f48f7
remove something that is really old and out of date.
...
llvm-svn: 156206
2012-05-04 21:11:08 +00:00
Richard Smith
33c1cf9205
Fix typo and avoid layout issue with almost-but-not-quite-fixed-width fonts.
...
llvm-svn: 156095
2012-05-03 20:10:41 +00:00
Richard Smith
dcfde13648
Minor copy-edits to clang::fallthrough attribute documentation.
...
llvm-svn: 156094
2012-05-03 20:05:46 +00:00
Richard Smith
84837d5b5a
Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between
...
cases in switch statements. Also add a [[clang::fallthrough]] attribute, which
can be used to suppress the warning in the case of intentional fallthrough.
Patch by Alexander Kornienko!
The handling of C++11 attribute namespaces in this patch is temporary, and will
be replaced with a cleaner mechanism in a subsequent patch.
llvm-svn: 156086
2012-05-03 18:27:39 +00:00
Richard Smith
641a87b983
The release notes are no place for modesty.
...
llvm-svn: 155681
2012-04-27 00:40:44 +00:00
Manuel Klimek
18ac56bc0f
Adds a tutorial on how to write RAV based ASTFrontendActions.
...
llvm-svn: 155631
2012-04-26 08:49:54 +00:00
Manuel Klimek
34e0f6cba2
Reverted unintentional commit.
...
llvm-svn: 155629
2012-04-26 08:46:12 +00:00
Manuel Klimek
c01d3fbe0f
Adds a small tutorial on how to write RAV based ASTFrontendActions.
...
llvm-svn: 155627
2012-04-26 08:35:39 +00:00
Manuel Klimek
85e60b5dc9
Adds documentation for how to use the tooling library.
...
llvm-svn: 155550
2012-04-25 14:20:13 +00:00
Manuel Klimek
06b0a7369f
Adds a document describing the various tooling approaches and their pros and
...
cons.
llvm-svn: 155549
2012-04-25 13:57:00 +00:00
Kostya Serebryany
b90fe5c6ee
[asan] fix typo
...
llvm-svn: 155345
2012-04-23 10:15:18 +00:00
Kostya Serebryany
f43ce26688
[asan] update docs
...
llvm-svn: 155343
2012-04-23 09:05:50 +00:00
Patrick Beard
81a256a909
Added equivalent method calls in examples.
...
llvm-svn: 155155
2012-04-19 20:48:09 +00:00
Richard Smith
500ae098bb
Formatting fix.
...
llvm-svn: 155141
2012-04-19 17:46:52 +00:00
David Blaikie
c5caf7291c
Fix a broken link. Patch by Nikola Smiljanic.
...
llvm-svn: 155139
2012-04-19 17:21:46 +00:00
Patrick Beard
2a4cfae1b3
Clarified encoding of boxed C strings, balanced all <p> with </p>.
...
llvm-svn: 155126
2012-04-19 14:33:55 +00:00
Patrick Beard
5890bc548b
Changed title.
...
llvm-svn: 155088
2012-04-19 01:30:47 +00:00
Patrick Beard
cbcacc6aa3
Changed wording of availability.
...
llvm-svn: 155086
2012-04-19 01:02:16 +00:00
Patrick Beard
0caa39474b
Implements boxed expressions for Objective-C. <rdar://problem/10194391>
...
llvm-svn: 155082
2012-04-19 00:25:12 +00:00