llvm-project/clang/unittests/AST
Richard Howell 1f451a8bd6 [clang] initialize type qualifiers for FunctionNoProtoType
When initializing FunctionNoProtoType types, zero out the type
qualifiers. This will ensure the ODR hash remains stable as it
hashes the values for these qualifiers for all function types.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D133586
2022-09-26 09:48:54 -07:00
..
ASTContextParentMapTest.cpp [clang][AST] RecursiveASTVisitor should visit owned TagDecl of friend type. 2022-08-23 09:15:55 +02:00
ASTImporterFixtures.cpp
ASTImporterFixtures.h [clang][NFC][AST] rename the ImportError to ASTImportError 2022-06-15 00:40:32 +05:30
ASTImporterGenericRedeclTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ASTImporterODRStrategiesTest.cpp [clang][NFC][AST] rename the ImportError to ASTImportError 2022-06-15 00:40:32 +05:30
ASTImporterObjCTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ASTImporterTest.cpp [clang] Fix AST representation of expanded template arguments. 2022-09-17 01:24:46 +02:00
ASTImporterVisibilityTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
ASTPrint.h [clang] Refactor AST printing tests to share more infrastructure 2021-07-14 19:44:18 -04:00
ASTTraverserTest.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
ASTTypeTraitsTest.cpp Update `DynTypedNode` to support the conversion of `TypeLoc`s. 2021-10-04 19:25:24 +00:00
ASTVectorTest.cpp Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
AttrTest.cpp Fix signed/unsigned comparison warning 2022-06-15 11:53:08 +01:00
CMakeLists.txt [Testing] Drop clangTesting from clang's public library interface 2022-04-20 13:28:44 +02:00
CommentLexer.cpp [clang] Use std::size instead of llvm::array_lengthof 2022-09-08 17:20:25 -06:00
CommentParser.cpp [clang] Use std::size instead of llvm::array_lengthof 2022-09-08 17:20:25 -06:00
CommentTextTest.cpp [clang] NFC: test for undefined behaviour in RawComment::getFormattedText() 2021-06-07 03:05:00 -07:00
DataCollectionTest.cpp
DeclMatcher.h
DeclPrinterTest.cpp [clang] Use std::size instead of llvm::array_lengthof 2022-09-08 17:20:25 -06:00
DeclTest.cpp [clang] initialize type qualifiers for FunctionNoProtoType 2022-09-26 09:48:54 -07:00
EvaluateAsRValueTest.cpp [clang] Perform implicit lvalue-to-rvalue cast with new interpreter 2022-09-08 07:31:07 +02:00
ExternalASTSourceTest.cpp
MatchVerifier.h [ASTStructuralEquivalence] Add support for comparing ObjCCategoryDecl. 2022-04-22 16:51:19 -07:00
NamedDeclPrinterTest.cpp [clang] Refactor AST printing tests to share more infrastructure 2021-07-14 19:44:18 -04:00
RandstructTest.cpp [randstruct] Automatically randomize a structure of function pointers 2022-04-29 11:05:09 -07:00
RecursiveASTVisitorTest.cpp [clang] Add `ObjCProtocolLoc` to represent protocol references 2022-02-18 15:24:00 -05:00
SizelessTypesTest.cpp
SourceLocationTest.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
StmtPrinterTest.cpp Fix build error in StmtPrinterTest.cpp 2022-09-05 03:48:46 -04:00
StructuralEquivalenceTest.cpp Fixed a number of typos 2022-08-01 13:13:18 -04:00
TemplateNameTest.cpp [AST] Consider QualifiedTemplateName in TemplateName::getAsUsingDecl(). 2022-04-27 14:16:19 +02:00
TypePrinterTest.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00