llvm-project/clang/test/Frontend
Reid Kleckner dccbabfacf Destroy the diagnostic client first in ~DiagnosticEngine
Add a comment and a test to ~DiagnosticEngine about the ordering
requirements on the teardown of DiagnosticConsumer. This could also be
accomplished by rearranging the fields of ~DiagnosticEngine, but I felt
that this was a better, more explicit solution.

This fixes PR21911, an issue that occurred after the unique_ptr
migration in r222193.

llvm-svn: 224454
2014-12-17 20:23:11 +00:00
..
Inputs Support using sample profiles with partial debug info (driver) 2014-10-22 13:00:05 +00:00
Weverything.c
Wno-everything.c
ast-codegen.c
ast-main.c
ast-main.cpp Delayed template parsing is not supported by the AST serialization system yet, so turning it off. This fixes a test breakage caused by r177336. 2013-03-21 19:38:59 +00:00
backend-diagnostic.c Make '-Werror=frame-larger-than=' and associated diagnostic pragmas GCC-compatible 2014-06-09 23:59:38 +00:00
cc1-return-codes.c Indicate success for simple options when clang called with -cc1. 2013-08-07 12:54:47 +00:00
cpp-output.c
darwin-eabi.c Fix r195149. Triple should correctly reflect that target. If it contains ios, 2014-01-26 23:12:43 +00:00
darwin-version.c Change __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ for versions > 10.9. 2014-08-08 21:45:53 +00:00
dependency-gen-escaping.c Escape # and $ in dependency files. 2013-04-02 13:38:48 +00:00
dependency-gen.c
dependency-generation-crash.c
diagnostics-option-names.c
disable-output.c Fix leak from r210059 2014-06-03 17:23:34 +00:00
exceptions.c Frontend: Define __EXCEPTIONS if -fexceptions is passed 2014-10-27 20:02:19 +00:00
hexagon-target-basic.c
iframework.c
invalid-o-level.c Fix handling of invalid -O options. 2014-12-16 21:57:03 +00:00
ir-support-codegen.ll Override the datalayout in a module with -triple. 2013-12-20 22:01:25 +00:00
ir-support-errors.ll Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
ir-support.c Account for differences in grep implementations 2014-06-27 03:11:38 +00:00
lit.local.cfg Remove .bc from test config.suffixes 2014-06-27 02:04:21 +00:00
macros.c
mfpmath.c Move -mfpmath handling to -cc1 and implement it for x86. 2013-08-21 21:59:03 +00:00
mips-long-double.c Move remaining %clang_cc1 tests out of test/Driver 2013-11-16 06:20:17 +00:00
optimization-remark-line-directive.c Don't generate assembly in backend diagnostic tests 2014-06-06 11:20:58 +00:00
optimization-remark.c Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
output-failures.c This test was updated in r216397, but was failing on Windows due to mixed path separators as well as case sensitivity of the "no" in "no such file or directory." Rather than revert this file back to its original form, I've made some incredibly ugly regexes so that it will pass everywhere. 2014-08-26 14:09:25 +00:00
plugins.c Add tests for clang plugins 2014-01-08 11:38:47 +00:00
preprocessed-output-macro-first-token.c
print-header-includes.c clang/test/Frontend/print-header-includes.c REQUIRES shell due to "cd". 2014-08-12 09:31:27 +00:00
profile-sample-use-loc-tracking.c Support using sample profiles with partial debug info (driver) 2014-10-22 13:00:05 +00:00
rewrite-includes-bom.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-cli-include.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-eof.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-header-cmd-line.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-invalid-hasinclude.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-messages.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-missing.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-modules.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes-warnings.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-includes.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
rewrite-macros.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
std.cl Extended list of valid frontend options with '-cl-std=CL2.0'. 2014-11-20 19:25:00 +00:00
stdin.c
stdlang.c No longer allow the -std options to entirely override the -x language option. This allows -x cuda -std=c++11, for instance. 2014-05-29 16:39:42 +00:00
system-header-prefix.c Move the -i[no-]system-prefix options from CC1Options.td to Options.td. 2014-03-26 01:39:59 +00:00
undef.c
unknown-pragmas.c
verify-directive.h
verify-fatal.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
verify-unknown-arg.c Destroy the diagnostic client first in ~DiagnosticEngine 2014-12-17 20:23:11 +00:00
verify.c Provide -verify support to match "any" line for diagnostics in included files. 2014-07-10 16:43:29 +00:00
verify2.c Provide -verify support to match "any" line for diagnostics in included files. 2014-07-10 16:43:29 +00:00
verify2.h Provide -verify support to match "any" line for diagnostics in included files. 2014-07-10 16:43:29 +00:00
verify3.c Fix test that was not being run 2013-11-05 12:45:40 +00:00
warning-mapping-1.c
warning-mapping-2.c
warning-mapping-3.c
warning-mapping-4.c
warning-mapping-5.c
warning-options.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
windows-nul.c Simplify test. No functional change intended. 2014-04-30 10:04:58 +00:00
x86-target-cpu.c Don't actually generate code for testing the frontend's target cpu flag, 2014-12-09 15:52:55 +00:00
x86_64-nacl-types.cpp Move remaining %clang_cc1 tests out of test/Driver 2013-11-16 06:20:17 +00:00