hanchenye-llvm-project/llvm
Thomas Preud'homme f3b9bb3d69 [FileCheck] Introduce substitution subclasses
Summary:
With now a clear distinction between string and numeric substitutions,
this patch introduces separate classes to represent them with a parent
class implementing the common interface. Diagnostics in
printSubstitutions() are also adapted to not require knowing which
substitution is being looked at since it does not hinder clarity and
makes the implementation simpler.

Reviewers: jhenderson, jdenny, probinson, arichardson

Subscribers: llvm-commits, probinson, arichardson, hiraditya

Tags: #llvm

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

llvm-svn: 361446
2019-05-23 00:10:29 +00:00
..
benchmarks
bindings [OCaml] Update api to account for FNeg and CallBr instructions 2019-04-16 15:00:19 +00:00
cmake Unbreak non-PIC builds after r361340/D62174 2019-05-22 15:48:12 +00:00
docs FileCheck: Improve FileCheck variable terminology 2019-05-23 00:10:14 +00:00
examples Add a HowToUseLLJIT example project. 2019-05-22 21:38:41 +00:00
include [FileCheck] Introduce substitution subclasses 2019-05-23 00:10:29 +00:00
lib [FileCheck] Introduce substitution subclasses 2019-05-23 00:10:29 +00:00
projects
resources
runtimes [Runtimes] If LLVM_INCLUDE_TESTS=On depend on gtest 2019-05-22 21:42:06 +00:00
test [FileCheck] Introduce substitution subclasses 2019-05-23 00:10:29 +00:00
tools [llvm-objdump] Dump inline relocations if the relocated section is specified with --section 2019-05-22 15:12:51 +00:00
unittests [FileCheck] Introduce substitution subclasses 2019-05-23 00:10:29 +00:00
utils FileCheck: Improve FileCheck variable terminology 2019-05-23 00:10:14 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt build: enable CMake policy 0077 2019-05-21 20:28:32 +00:00
CODE_OWNERS.TXT
CREDITS.TXT add Qiu Chaofan (qiucf@cn.ibm.com) to the CREDITS.txt 2019-04-23 02:37:48 +00:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.