FailedChanges

Summary

  1. [WebAssebmly][MC] Support .import_name/.import_field asm directives (details)
  2. Make it possible control matcher traversal kind with ASTContext (details)
  3. [CommandLine] Add callbacks to Options (details)
  4. Remove Expr.h include from ASTContext.h, NFC (details)
  5. [Sema][X86] Consider target attribute into the checks in (details)
  6. Use ASTDumper to dump the AST from clang-query (details)
Commit b4f4e370b59a753a51f11848f54e9705f43cccaf by sbc
[WebAssebmly][MC] Support .import_name/.import_field asm directives
Convert the MC test to use asm rather than bitcode.
This is a precursor to https://reviews.llvm.org/D70520.
Differential Revision: https://reviews.llvm.org/D70877
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was addedlld/test/wasm/import-name.ll
The file was modifiedllvm/include/llvm/MC/MCSymbolWasm.h
The file was addedllvm/test/MC/WebAssembly/import-module.s
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was removedlld/test/wasm/import-names.ll
The file was removedllvm/test/MC/WebAssembly/import-module.ll
Commit 0a717d5b5d31fc2d5bc98ca695031fb09e65beb0 by steveire
Make it possible control matcher traversal kind with ASTContext
Summary: This will eventually allow traversal of an AST while ignoring
invisible AST nodes.  Currently it depends on the available enum values
for TraversalKinds.  That can be extended to ignore all invisible nodes
in the future.
Reviewers: klimek, aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61837
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
Commit 6555995a6d4545ff59dcf3388f9acfce3b6129a5 by donh
[CommandLine] Add callbacks to Options
Summary: Add a new cl::callback attribute to Option.
This attribute specifies a callback function that is called when an
option is seen, and can be used to set other options, as in option A
implies option B.  If the option is a `cl::list`, and
`cl::CommaSeparated` is also specified, the callback will fire once for
each value.  This could be used to validate combinations or selectively
set other options.
Reviewers: beanz, thomasfinch, MaskRay, thopre, serge-sans-paille
Reviewed By: beanz
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70620
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/docs/CommandLine.rst
The file was modifiedllvm/include/llvm/Support/CommandLine.h
The file was modifiedllvm/unittests/Support/CommandLineTest.cpp
Commit 60573ae6fe509b618dc6a2c5c55d921bccd77608 by rnk
Remove Expr.h include from ASTContext.h, NFC
ASTContext.h is popular, prune its includes. Expr.h brings in Attr.h,
which is also expensive.
Move BlockVarCopyInit to Expr.h to accomplish this.
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/ASTFwd.h
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
The file was modifiedclang/lib/Analysis/CloneDetection.cpp
The file was modifiedclang/lib/Index/IndexingContext.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/include/clang/AST/ASTTypeTraits.h
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
The file was modifiedclang/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
The file was modifiedclang/lib/AST/ASTTypeTraits.cpp
The file was modifiedclang/lib/Index/IndexDecl.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/Index/IndexSymbol.cpp
The file was modifiedclang/lib/Index/USRGeneration.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CallEvent.cpp
Commit e1578fd2b79fe5af5f80c0c166a8abd0f816c022 by craig.topper
[Sema][X86] Consider target attribute into the checks in
validateOutputSize and validateInputSize.
The validateOutputSize and validateInputSize need to check whether AVX
or AVX512 are enabled. But this can be affected by the target attribute
so we need to factor that in.
This patch copies some of the code from CodeGen to create an appropriate
feature map that we can pass to the function. Probably need some
refactoring here to share more code with Codegen. Is there a good place
to do that? Also need to support the cpu_specific attribute as well.
Differential Revision: https://reviews.llvm.org/D68627
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/test/CodeGen/x86_32-inline-asm.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/include/clang/Basic/TargetInfo.h
Commit b22d8ae7f436bfe63b28ceddea743071a6601eb1 by steveire
Use ASTDumper to dump the AST from clang-query
Summary: This way, the output is not limited by the various API
differences between the dump() member functions.  For example, all dumps
are now in color, while that used to be the case only for Decls and
Stmts, but not Types.
Additionally, while DynTypedNode::dump (which was used up to now) was
limited to dumping only Decls, Stmts and Types, this makes clang-query
support everything ASTNodeTraverser supports.
Reviewers: aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62056
The file was modifiedclang-tools-extra/clang-query/Query.cpp