Kostya Serebryany
b187449435
add documentation for -f[no-]thread-sanitizer and -f[no-]address-sanitizer to docs/UsersManual.html
...
llvm-svn: 151858
2012-03-01 23:14:19 +00:00
Chad Rosier
c41c5a8c39
Improve placement of clang crash diagnostics section.
...
llvm-svn: 151192
2012-02-22 20:26:10 +00:00
Chad Rosier
35d14d91c2
Add clang crash diagnostic info and associated flags to Clang user manual.
...
llvm-svn: 151184
2012-02-22 19:14:46 +00:00
David Blaikie
040a3a28f1
Remove the unuseful -fdiagnostics-show-name
...
This option was added in r129614 and doesn't have any use case that I'm aware
of. It's possible that external tools are using these names - and if that's
the case we can certainly reassess the functionality, but for now it lets us
shave out a few unneeded bits from clang.
Move the "StaticDiagNameIndex" table into the only remaining consumer, diagtool.
This removes the actual diagnostic name strings from clang entirely.
Reviewed by Chris Lattner & Ted Kremenek.
llvm-svn: 150612
2012-02-15 19:45:34 +00:00
Michael J. Spencer
9dc864b6ce
Fix broken link. I believe this has been broken for at least 7 months.
...
llvm-svn: 150329
2012-02-12 09:11:39 +00:00
Benjamin Kramer
eaa262b5b8
Fix ALL the markup.
...
llvm-svn: 148219
2012-01-15 15:26:07 +00:00
Chris Lattner
ac2bda8dd0
fix a broken link
...
llvm-svn: 146859
2011-12-19 07:49:23 +00:00
Chris Lattner
1e13e8ac97
we got badgered into supporting multi-alternative constraints.
...
llvm-svn: 145822
2011-12-05 18:29:03 +00:00
Richard Smith
f13b855809
Add stub section to the user manual for C++ language features, and document
...
-ftemplate-depth= and -fconstexpr-depth= in it.
llvm-svn: 145049
2011-11-21 20:54:59 +00:00
NAKAMURA Takumi
74793710c1
docs/UsersManual.html: Remove obsolete mingw issue.
...
llvm-svn: 144897
2011-11-17 07:54:13 +00:00
David Blaikie
8317245f9c
Update documentation to use "C++11" instead of "C++0x"
...
llvm-svn: 142339
2011-10-18 05:49:30 +00:00
Douglas Gregor
cd267f7e0d
Update mingw-w64 part of the user manual, from Ruben Van Boxem!
...
llvm-svn: 138788
2011-08-30 00:40:12 +00:00
Ted Kremenek
66bfc1db14
Add documentation on -Weverything.
...
llvm-svn: 137911
2011-08-18 01:17:05 +00:00
Chris Lattner
e67977214f
mention new VLA behavior in gnu* vs c* mode dox.
...
llvm-svn: 133030
2011-06-15 00:41:40 +00:00
Eli Friedman
97f3d1a5ee
Update extensions section of the docs to account for wacky gcc stuff we did end up implementing.
...
llvm-svn: 132947
2011-06-13 23:12:01 +00:00
Argyrios Kyrtzidis
0e37afa15e
A StringRef-ication of the DiagnosticIDs API and internals.
...
Patch by Matthieu Monrocq with tweaks by me to avoid StringRefs in the static
diagnostic data structures, which resulted in a huge global-var-init function.
Depends on llvm commit r132046.
llvm-svn: 132047
2011-05-25 05:05:01 +00:00
Douglas Gregor
643c922e66
Introduce the -fdiagnostics-format=xxx option to control how Clang
...
prints the file, line, and column of a diagnostic. We currently
support Clang's normal format, MSVC, and Vi formats.
Note that we no longer change the diagnostic format based on
-fms-extensions.
Patch by Andrew Fish!
llvm-svn: 131794
2011-05-21 17:07:29 +00:00
Chris Lattner
57540c5be0
fix a bunch of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
llvm-svn: 129559
2011-04-15 05:22:18 +00:00
Chris Lattner
e094ee0a34
typo fix + expand
...
llvm-svn: 129167
2011-04-08 22:58:43 +00:00
Evan Cheng
298de937e7
Minor format fix.
...
llvm-svn: 129164
2011-04-08 22:34:21 +00:00
Evan Cheng
fbbacc9241
Document -ftrap-function= option
...
llvm-svn: 129162
2011-04-08 22:18:01 +00:00
NAKAMURA Takumi
584f2de0a3
docs/UsersManual.html: Fix some inconsistent HTML elements.
...
llvm-svn: 128876
2011-04-05 04:31:31 +00:00
NAKAMURA Takumi
a33296392e
docs/UsersManual.html: """ize in a paragraph. A few unpaired quotations might confuse HTML-aware text edtors.
...
llvm-svn: 128871
2011-04-05 00:57:02 +00:00
NAKAMURA Takumi
ce60187a89
docs/UsersManual.html: Add cygming notes.
...
llvm-svn: 128819
2011-04-04 15:02:41 +00:00
Chris Lattner
c4ef61af9a
we now support __label__
...
llvm-svn: 125826
2011-02-18 04:12:08 +00:00
Chris Lattner
c2989b3718
fix some typos, patch by Jonathan Wakely!
...
llvm-svn: 124105
2011-01-24 03:47:59 +00:00
Chris Lattner
7d29d4503a
fix a broken example, PR9005, patch by Jonathan Wakely!
...
llvm-svn: 124104
2011-01-24 03:47:34 +00:00
Bob Wilson
ce3ee6539e
NEON vector support for ARM is in pretty good shape now. Update the docs.
...
llvm-svn: 123183
2011-01-10 17:55:14 +00:00
Douglas Gregor
e350923a9b
Fix documentation typo, from nobled.
...
llvm-svn: 121768
2010-12-14 16:21:49 +00:00
Chris Lattner
4935b45d74
make it really clear that vla != flexible arrays
...
llvm-svn: 117522
2010-10-28 02:20:32 +00:00
Michael J. Spencer
4992ca4b17
Reorganize predefined macros for all Windows targets.
...
This adds an option to set the _MSC_VER macro without
recompiling. This is very useful when testing compatibility
with the Windows SDK and c++stdlib headers.
-fmsc-version=<version> (defaults to VS2003 (1300))
llvm-svn: 116999
2010-10-21 05:21:48 +00:00
Chris Lattner
a09e8efd1f
Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
...
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116191
2010-10-11 05:44:49 +00:00
Daniel Dunbar
549decf4cc
Update users manual comments on X86 and ARM support.
...
llvm-svn: 114311
2010-09-19 19:26:59 +00:00
Ted Kremenek
800ad06e8c
Document '__clang_analyzer__'.
...
llvm-svn: 111935
2010-08-24 18:12:35 +00:00
Douglas Gregor
34a462538e
Clarify documentation of escaping for backslash
...
llvm-svn: 111806
2010-08-23 14:03:03 +00:00
Douglas Gregor
12e2a06824
Eliminate some extraneous whitespace in the machine-parseable Fix-It output.
...
llvm-svn: 111610
2010-08-20 03:17:33 +00:00
Douglas Gregor
a03c296e79
Fix some typos in the documentation of -fdiagnostics-parseable-fixits. Typos by me, patch by Eelis van der Weegen
...
llvm-svn: 111573
2010-08-19 23:31:13 +00:00
Douglas Gregor
eec975ce5a
Add machine-parseable Fix-It output as part of diagnostics, under the
...
flag -fdiagnostics-parseable-fixits, from Eelis van der Weegen!
llvm-svn: 111557
2010-08-19 20:24:43 +00:00
Daniel Dunbar
1b8842d981
Update UsersManual, we support '#pragma align' now.
...
llvm-svn: 110040
2010-08-02 15:36:37 +00:00
Douglas Gregor
137b27da2e
Document -f{no-}color-diagnostics
...
llvm-svn: 107985
2010-07-09 16:31:58 +00:00
Douglas Gregor
b7b04ae204
Remove redundant and incomplete bits from the users manual w.r.t. language conformance
...
llvm-svn: 107326
2010-06-30 22:04:24 +00:00
Jeffrey Yasskin
caa710dfd2
PR7245: Make binding a reference to a temporary without a usable copy
...
constructor into an extension warning into the error that C++98 requires.
llvm-svn: 105529
2010-06-07 15:58:05 +00:00
Jeffrey Yasskin
2f96e9f5c9
Add an extension to avoid an error when a global template has the same name as
...
a member template, and you try to call the member template with an explicit
template argument. See PR7247
For example, this downgrades the error to a warning in:
template<typename T> struct set{};
struct Value {
template<typename T>
void set(T value) {
}
};
void foo() {
Value v;
v.set<double>(3.2); // Warning here.
}
llvm-svn: 105518
2010-06-05 01:39:57 +00:00
Chris Lattner
f3d0436077
fix incorrect tag
...
llvm-svn: 105189
2010-05-30 23:42:51 +00:00
Daniel Dunbar
406e3826e0
Update "users manual", PR2461 has been fixed.
...
llvm-svn: 104997
2010-05-28 19:43:31 +00:00
Chris Lattner
b997626120
push categories forward a bit more: document them, add some
...
major buckets to catch parser and sema issues, add inline asm
category, and make diag groups take precedence over the
sweeping categories just added.
llvm-svn: 104561
2010-05-24 21:35:18 +00:00
mike-m
9f08a6f1a8
Reverted r103214.
...
llvm-svn: 103222
2010-05-07 00:42:33 +00:00
mike-m
9bb682b713
2nd part of: Overhauled llvm/clang docs builds.
...
llvm-svn: 103214
2010-05-06 23:46:27 +00:00
Chris Lattner
336119f089
document -fdiagnostics-show-category
...
llvm-svn: 103067
2010-05-05 01:35:28 +00:00
Douglas Gregor
ffed1cb339
Introduce a limit on the depth of the template instantiation backtrace
...
we will print with each error that occurs during template
instantiation. When the backtrace is longer than that, we will print
N/2 of the innermost backtrace entries and N/2 of the outermost
backtrace entries, then skip the middle entries with a note such as:
note: suppressed 2 template instantiation contexts; use
-ftemplate-backtrace-limit=N to change the number of template
instantiation entries shown
This should eliminate some excessively long backtraces that aren't
providing any value.
llvm-svn: 101882
2010-04-20 07:18:24 +00:00