llvm-project/clang/test/Misc
Eli Friedman fe9d110f3a Try to make the source location information for token pastes a bit more consistent.
Fixes a crash printing diagnostics on the gcc testsuite, and also makes
diagnostic range printing print nicer results for token pastes.

llvm-svn: 169068
2012-12-01 01:15:54 +00:00
..
Inputs Change the include stack of "instantiated from" notes to fall under the control of f/fno-diagnostics-show-note-include-stack flags. This should help with reducing diagnostic spew from macros instantiations. 2011-05-26 20:49:16 +00:00
ast-dump-stmt.c Create helper functions in StmtDumper for outputting the indentation, newlines, and brackets. 2012-11-07 00:33:12 +00:00
ast-dump-stmt.m Create helper functions in StmtDumper for outputting the indentation, newlines, and brackets. 2012-11-07 00:33:12 +00:00
ast-dump-templates.cpp Fix a test case that was intermittently failing. The issue was that instantiations are not stored in an order preserving structure, so the print order may be impacted. Modified test case to do two FileCheck passes to ensure that both instantiations are in the same place. 2011-07-28 20:30:10 +00:00
ast-dump-wchar.cpp Add triples to keep make test work on Windows, where wchar_t is only 16 2012-06-13 23:15:33 +00:00
caret-diags-macros.c Try to make the source location information for token pastes a bit more consistent. 2012-12-01 01:15:54 +00:00
caret-diags-scratch-buffer.c
dev-fd-fs.c Frontend: Create a virtual file for named pipe inputs. 2012-11-27 00:04:16 +00:00
diag-aka-types.cpp Only print a semicolon after "no known conversion for Nth argument" if there 2012-06-28 19:20:41 +00:00
diag-format.c rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
diag-line-wrapping.cpp Add back support for a manually formatted section of the diagnostic 2011-09-26 16:43:25 +00:00
diag-macro-backtrace.c Fix -fmacro-backtrace-limit=0 to show the entire macro backtrace. 2012-01-25 06:07:15 +00:00
diag-mapping.c
diag-mapping2.c
diag-presumed.c Add -cc1 option -fno-diagnostics-use-presumed-location, a handy mode for 2012-11-14 23:55:25 +00:00
diag-template-diffing-color.cpp Update template type diffing to handle qualifiers. Differing qualifiers will 2012-09-28 20:32:51 +00:00
diag-template-diffing-cxx98.cpp Make template diffing handle integral expressions of various widths correctly. 2012-11-14 23:57:08 +00:00
diag-template-diffing.cpp Make template diffing handle integral expressions of various widths correctly. 2012-11-14 23:57:08 +00:00
diag-trailing-null-bytes.cpp Revert r154981, because it caused PR12674. 2012-04-26 21:39:46 +00:00
diag-verify.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
emit-html-insert.c
emit-html.c Disable _Pragma during HTML macro rewriting to keep from crashing. 2012-06-08 18:06:21 +00:00
error-limit-multiple-notes.cpp Fix -ferror-limit= to properly emit notes following the last error 2011-08-17 19:13:00 +00:00
error-limit.c Fix -ferror-limit= to properly emit notes following the last error 2011-08-17 19:13:00 +00:00
include-stack-for-note-flag.cpp Switch to a more natural formatting of the macro name printing. 2011-10-24 18:51:08 +00:00
integer-literal-printing.cpp SemaCXX: an enumeral type can be of character or boolean type in a C++11 enum class. Make sure we create a literal of the right type. 2012-11-21 17:42:47 +00:00
macro-backtrace.c Switch to a more natural formatting of the macro name printing. 2011-10-24 18:51:08 +00:00
message-length.c Nicer display of unprintable source, and fix caret display for non-ascii text 2012-04-18 02:44:46 +00:00
predefines.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
remap-file.c
serialized-diags-frontend.c Fix an assertion hit when the serialized diagnostics writer receive a diagnostic 2012-05-10 05:03:45 +00:00
serialized-diags-no-category.c Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
serialized-diags-no-issue.c [serialized diagnostics]: add test cases for serialized diagnostics, including a test case for no issues, multiple issues, and 2011-11-11 00:46:43 +00:00
serialized-diags-single-issue.c Implement clang_getDiagnosticCategoryText() to provide a way for a client of libclang to accurately 2012-04-12 00:03:31 +00:00
serialized-diags.c Implement support for 18 of the GNU-compatible __atomic builtins. 2012-04-12 05:08:17 +00:00
serialized-diags.h Refactor SerializeDiagnosticsPrinter to using DiagnosticRenderer. This gives us comparative diagnostics 2011-12-17 05:26:11 +00:00
show-diag-options.c Re-apply r159875 with fixes. 2012-07-07 05:53:30 +00:00
tabstop.c Improve fixit for comparison operator on lhs of bitwise operator. 2012-06-03 07:07:00 +00:00
unnecessary-elipses.cpp only truncate source lines in text diagnostics when 2012-11-03 23:56:43 +00:00
unprintable.c LiteralSupport: Don't overflow the temporary buffer when decoding invalid string parts. 2012-11-08 19:22:31 +00:00
verify.c
warn-in-system-header.c Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
warn-in-system-header.h Don't hide #warnings in a system header, same as gcc. Fixes rdar://8495837. 2011-04-21 23:08:23 +00:00
warning-flags-enabled.c Make -Wshift-op-parentheses a subgroup of -Wparentheses 2012-10-10 20:30:36 +00:00
warning-flags-tree.c [diagtool] Add a new "tree" command to shows warnings activated by a flag. 2012-06-24 00:07:45 +00:00
warning-flags.c Add -Wmismatched-return-types flag for existing warning on conflicting return types. 2012-11-07 01:43:44 +00:00
working-directory.c Implement -working-directory. 2010-11-03 22:45:23 +00:00
wrong-encoding.c add test for r167063 2012-10-31 01:03:35 +00:00
wrong-encoding2.c fix bug in SourceColumnMap::startOfPreviousColumn 2012-11-03 21:21:14 +00:00