llvm-project/clang/test/Frontend
Alex Lorenz 8c1b5c9ea9 [Frontend] Fix an issue where a quoted search path is incorrectly
removed as a duplicate header search path

The commit r126167 started passing the First index into RemoveDuplicates, but
forgot to update 0 to First in the loop that looks for the duplicate. This
resulted in a bug where an -iquoted search path was incorrectly removed if you
passed in the same path into -iquote and more than one time into -isystem.

rdar://23991350

Differential Revision: https://reviews.llvm.org/D27298

llvm-svn: 288491
2016-12-02 09:51:51 +00:00
..
Inputs Reapply r281276 with passing -emit-llvm in one of the tests 2016-09-13 04:32:40 +00:00
Weverything.c
Wno-everything.c
aarch64-target-cpu.c test/Frontend: Add a test for aarch64 target CPU names. 2016-07-27 22:47:07 +00:00
absolute-paths.c Add support for -fdiagnostics-absolute-paths: printing absolute paths in diagnostics 2016-08-26 15:45:36 +00:00
ast-codegen.c Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
ast-main.c
ast-main.cpp
backend-diagnostic.c
backend-option.c Pass -backend-option to LLVM when there is no target machine. 2016-04-12 20:22:32 +00:00
cc1-return-codes.c
cpp-output.c
darwin-eabi.c
darwin-version.c Allow iOS and tvOS version numbers with 2-digit major version numbers. 2016-07-18 20:29:14 +00:00
dependency-gen-escaping.c clang/test/Frontend/dependency-gen-escaping.c: Appease win32 hosts. Investigating. 2015-05-14 07:37:35 +00:00
dependency-gen.c Re-apply r267784, r267824 and r267830. 2016-04-28 17:09:37 +00:00
dependency-generation-crash.c Fix typo in my last commit. 2015-03-03 00:12:08 +00:00
diagnostics-option-names.c
disable-output.c
embed-bitcode.ll Change embed-bitcode linkage type 2016-05-16 18:54:58 +00:00
exceptions.c
force-include-not-found.c Add back null check removed accidentally in r250554 2015-10-20 18:45:57 +00:00
gnu-inline.c Make GNUInline consistent with whether we use traditional GNU inline semantics. 2015-05-13 22:07:22 +00:00
gnu-mcount.c [clang] Limit clang test to ARM and AArch64 only 2016-10-23 00:53:03 +00:00
hexagon-target-basic.c
iframework.c
include-duplicate-removal.c [Frontend] Fix an issue where a quoted search path is incorrectly 2016-12-02 09:51:51 +00:00
int128.cpp Provide __GLIBCXX_TYPE_INT_N_0 and __GLIBCXX_BITSIZE_INT_N_0 when in C++ gnu language extensions. 2016-07-21 07:44:41 +00:00
invalid-o-level.c Fix handling of invalid -O options. 2014-12-16 21:57:03 +00:00
ir-support-codegen.ll
ir-support-errors.ll
ir-support.c
lit.local.cfg [OpenCL] Actually activate Frontend/opencl.cl test and fix test bugs 2016-07-14 12:56:21 +00:00
macros.c
mfpmath.c
mips-long-double.c
objc-bool-is-bool.m [Frontend] Add a predefined macro that describes the Objective-C bool type 2016-11-21 11:05:15 +00:00
opencl.cl [OpenCL] Actually activate Frontend/opencl.cl test and fix test bugs 2016-07-14 12:56:21 +00:00
optimization-remark-analysis.c Add backend dignostic printer for unsupported features 2016-02-02 13:52:52 +00:00
optimization-remark-line-directive.c Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
optimization-remark-options.c Add a loop's debug location to its llvm.loop metadata 2016-05-25 21:53:24 +00:00
optimization-remark-with-hotness.c Reapply r281276 with passing -emit-llvm in one of the tests 2016-09-13 04:32:40 +00:00
optimization-remark.c Use NoDebug compile units to mark debug metadata used only for sample-based 2016-04-08 22:43:06 +00:00
output-failures.c
plugin-annotate-functions.c Add a PragmaHandler Registry for plugins to add PragmaHandlers to 2016-04-04 14:22:58 +00:00
plugin-delayed-template.cpp Don't leak TemplateIds when a plugin parses late-parsed templates at TU end. 2015-05-17 01:07:16 +00:00
plugin-vs-debug-info.cpp Give this test that uses Itanium mangling a triple 2016-11-30 00:31:16 +00:00
plugins.c Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
preprocessed-output-macro-first-token.c
print-header-includes.c clang-cl: Include /FI headers in /showIncludes output. 2016-03-23 18:00:22 +00:00
profile-sample-use-loc-tracking.c Use NoDebug compile units to mark debug metadata used only for sample-based 2016-04-08 22:43:06 +00:00
rewrite-includes-bom.c
rewrite-includes-cli-include.c
rewrite-includes-eof.c
rewrite-includes-header-cmd-line.c
rewrite-includes-invalid-hasinclude.c
rewrite-includes-line-markers.c Add -fuse-line-directive flag to control usage of #line with -E 2015-02-26 00:17:25 +00:00
rewrite-includes-messages.c
rewrite-includes-missing.c
rewrite-includes-modules.c Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
rewrite-includes-warnings.c
rewrite-includes.c
rewrite-macros.c
source-col-map.c This test requires UTF-8 output to print the UT-8 characters. 2015-09-11 13:29:12 +00:00
stats-file.c CC1: Add -save-stats option 2016-09-26 18:53:34 +00:00
stdin.c
stdlang.c [OpenCL] Allow -std={cl|CL}{|1.1|1.2|2.0} in driver 2016-06-17 17:19:28 +00:00
system-header-prefix.c
trigraphs.cpp Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
undef.c
unknown-pragmas.c
verify-directive.h
verify-fatal.c
verify-ignore-unexpected.c Add `-verify-ignore-unexpected` option to ignore unexpected diagnostics in VerifyDiagnosticsConsumer 2015-06-13 07:11:40 +00:00
verify-unknown-arg.c Destroy the diagnostic client first in ~DiagnosticEngine 2014-12-17 20:23:11 +00:00
verify.c
verify2.c
verify2.h
verify3.c
warning-mapping-1.c
warning-mapping-2.c
warning-mapping-3.c
warning-mapping-4.c
warning-mapping-5.c
warning-options.cpp
windows-nul.c
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 Fix copy-paste errors in the test 2015-02-23 22:08:10 +00:00