Skip to content

LLVM and SPIRV-LLVM-translator pull down #993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 692 commits into from
Jan 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
692 commits
Select commit Hold shift + click to select a range
103a58c
Add ExternalAAWrapperPass to createLegacyPMAAResults.
sheredom Dec 11, 2019
aab72f8
[mlir] Update mlir/CMakeLists.txt to install *.def files
kernhanda Jan 6, 2020
f3f7dc3
[APFloat] Fix compilation warnings
ekatz Jan 6, 2020
5173bfc
Add interface emitPrefix for MCCodeEmitter
KanRobert Dec 31, 2019
0efc9e5
[ARM][MVE] More MVETailPredication debug messages. NFC.
Jan 6, 2020
7180d95
Fix MSVC "not all control paths return a value" warning. NFCI.
RKSimon Jan 6, 2020
d68904f
[NFC] Fix trivial typos in comments
jh7370 Jan 6, 2020
89b1184
[test][DebugInfo][NFC] Rename method for clarity
jh7370 Jan 3, 2020
6fa6000
[DAG] DAGCombiner::XformToShuffleWithZero - use APInt::extractBits he…
RKSimon Jan 6, 2020
5d986a6
[CostModel][X86] Add missing scalar i64->f32 uitofp costs
RKSimon Jan 6, 2020
de73524
[X86] Add extra PR43971 test case mentioned in D70267
RKSimon Jan 6, 2020
d45aafa
[clang-format] fix conflict between FormatStyle::BWACS_MultiLine and …
Jan 6, 2020
d67c4cc
[mlir][Linalg] Reimplement and extend getStridesAndOffset
Jan 2, 2020
f1c85ec
AMDGPU/GlobalISel: Select more G_EXTRACTs correctly
arsenm Jan 1, 2020
bc763c4
[lldb] [Process/NetBSD] Remove unused orig_*ax use
mgorny Jan 4, 2020
e4464bf
AMDGPU/GlobalISel: Select scalar v2s16 G_BUILD_VECTOR
arsenm Sep 2, 2019
b99ef32
[ARM,MVE] Generate the right instruction for vmaxnmq_m_f16.
statham-arm Jan 6, 2020
4978296
[ARM,MVE] Support -ve offsets in gather-load intrinsics.
statham-arm Jan 6, 2020
34817e0
[ARM,MVE] Fix many signedness errors in MVE intrinsics.
statham-arm Jan 6, 2020
ea5abf1
Fix "use of uninitialized variable" static analyzer warning. NFCI.
RKSimon Jan 6, 2020
5bcc747
Fix "use of uninitialized variable" static analyzer warnings. NFCI.
RKSimon Jan 6, 2020
ea2c159
[AMDGPU] Fix "use of uninitialized variable" static analyzer warning.…
RKSimon Jan 6, 2020
1d549cf
[NFC] Fixes -Wrange-loop-analysis warnings
mordante Jan 5, 2020
eec0240
Adds -Wrange-loop-analysis to -Wall
mordante Jan 1, 2020
61b5e72
[AIX] Use csect reference for function address constants
Jan 6, 2020
0eb981b
[ARM] Use correct TRAP opcode for thumb in FastISel
davemgreen Jan 6, 2020
f88d527
[ARM] Use the correct opcodes for Thumb2 segmented stack frame lowering
davemgreen Jan 6, 2020
3e1f3b1
[llvm-libc] Fix missing virtual destructor
gchatelet Jan 6, 2020
83ec9b5
[AIX] Use csect reference for function address constants
Jan 6, 2020
b3757f3
[lldb/CMake] Autodetect Python dependency
JDevlieghere Jan 6, 2020
8eba3fb
[lldb/Test] Temporarily skip TestFoundationDisassembly on the ASan bot.
JDevlieghere Jan 6, 2020
350da40
[clang-tidy] new check: bugprone-signed-char-misuse
tzolnai Jan 4, 2020
ba4ca37
[gn build] Port 350da402ef6
llvmgnsyncbot Jan 6, 2020
896b84a
[llvm-readelf] Print EI_ABIVERSION as decimal instead of hexadecimal
MaskRay Jan 5, 2020
3abc292
[lldb/Test] Move @skipIfAsan from test class to test methods.
JDevlieghere Jan 6, 2020
f654493
Make check-llvm run 50% faster on macOS, 18% faster on Windows.
nico Jan 6, 2020
bbfebd7
[CMake] Add $ORIGIN/../../../../lib to rpath if BUILD_SHARED_LIBS or …
MaskRay Dec 21, 2019
8c8ffd4
[lldb/CMake] Only set PYTHON_HOME on Windows
JDevlieghere Jan 6, 2020
0239526
[lldb/Docs] Fix capitalization typo.
JDevlieghere Jan 6, 2020
5b24c08
[libc] Move all tests to a top level `test` directory.
Jan 3, 2020
7ae3d33
[lld] Fix trivial typos in comments
kiszk Jan 6, 2020
e29a2e6
[PowerPC][LoopVectorize] Extend getRegisterClassForType to consider d…
Jan 3, 2020
df3f4e0
[X86] Fix an 8 bit testb being selected when folding a volatile i32 l…
aemerson Dec 11, 2019
40a80a0
Lower TAGPstack with negative offset to SUBG.
eugenis Dec 10, 2019
19433b1
[OpenMP] Fix incorrect property of __has_attribute() macro
kkwli Jan 6, 2020
22cec48
[x86] add tests for concat self + shuffle; NFC
rotateright Jan 6, 2020
b73fea6
[NFC] Test commit, whitespace change
steven-wan-yu Jan 6, 2020
02f694b
[NFC] Test commit, revert whitespace change
steven-wan-yu Jan 6, 2020
7b518dc
[OPENMP50]Support lastprivate conditional updates in inc/dec unary ops.
alexey-bataev Jan 6, 2020
ca86800
[X86] Rename vec-strict-*-cmp.ll to vec-strict-cmp-*.ll to match othe…
topperc Jan 6, 2020
62f3403
[LegalizeTypes] Add widening support for STRICT_FSETCC/FSETCCS
topperc Jan 6, 2020
317cbda
[lldb/Docs] Describe optional dependencies on build page.
JDevlieghere Jan 6, 2020
6a0564a
[X86] Improve v4i32->v4f64 uint_to_fp for AVX1/AVX2 targets.
topperc Jan 6, 2020
5518a02
llc/MIR: Fix setFunctionAttributes for MIR functions
arsenm Dec 6, 2019
14d2505
AMDGPU: Use ImmLeaf for inline immediate predicates
arsenm Jan 6, 2020
a506eff
AMDGPU: Use ImmLeaf
arsenm Jan 6, 2020
7f2db29
AMDGPU: Fix legalizing f16 fpow
arsenm Jan 4, 2020
0b093f0
GlobalISel: Start adding computeNumSignBits to GISelKnownBits
arsenm Jan 4, 2020
1060b9e
GlobalISel: Correct result type for G_FCMP in lowerFPTOUI
arsenm Jan 4, 2020
ee6b872
GlobalISel: Fix unsupported legalize action
arsenm Sep 9, 2019
f5329bf
[Diagnostic] make Wmisleading-indendation not warn about labels
Ralender Jan 6, 2020
24ee4ed
[PowerPC][NFC] Rename record instructions to use _rec suffix instead …
Jan 6, 2020
d8fd92e
[FileCheck] Remove FileCheck prefix in API
Dec 11, 2019
83d690a
Don't rely on 'l'(ell) modifiers to indicate a label reference
isanbard Dec 24, 2019
71a2a62
[CMake] Pass symlink dependency to add_llvm_install_targets explicitly
petrhosek Dec 28, 2019
59fadc1
[NSArray] Remove a very old and deprecated formatter.
Jan 6, 2020
b5e7f95
[msan] Check qsort input.
eugenis Dec 20, 2019
08d17cb
[X86] Move an enum definition into a header to simplify future patche…
preames Jan 6, 2020
450073c
Change the patterns to include the prefix '= ' so we don't pass erran…
jasonmolenda Jan 6, 2020
f3de8ab
GlobalISel: Implement lower for G_INTRINSIC_ROUND
arsenm Dec 24, 2019
26f714f
TableGen/GlobalISel: Handle default operands that are used
arsenm Oct 22, 2019
4e85ca9
AMDGPU/GlobalISel: Replace handling of boolean values
arsenm Nov 2, 2019
d4c9e13
AMDGPU/GlobalISel: Select G_UADDE/G_USUBE
arsenm Dec 25, 2019
c6fd16a
Use FileCheck instead of grep
ahatanaka Jan 6, 2020
6904cd9
Add Triple::isX86()
MaskRay Jan 6, 2020
5e0e0e3
[NFC] Fixes -Wrange-loop-analysis warnings
mordante Jan 6, 2020
7ba4595
[msan] Fix underflow in qsort interceptor.
eugenis Jan 7, 2020
20f005d
[CodeGen][ObjC] Push the properties of a protocol before pushing the
ahatanaka Jan 4, 2020
52afc93
AMDGPU/GlobalISel: Legalize G_READCYCLECOUNTER
arsenm Jan 4, 2020
21f7b36
[WebAssembly] Fix landingpad-only case in Emscripten EH
aheejin Jan 7, 2020
e93b1ff
AMDGPU: Use default operands for clamp/omod
arsenm Sep 7, 2019
907cefe
Always deduce the lengths of contained parameter packs when deducing a
zygoloid Jan 7, 2020
452f624
AMDGPU: Select llvm.amdgcn.interp.p2.f16 directly
arsenm Oct 21, 2019
e8d9d20
AMDGPU: Add run line to int_to_fp tests
arsenm Jan 7, 2020
d877229
[NFC][Test] Add a test to verify the DAGCombine of fma
Jan 7, 2020
e3750ca
[mlir][Linalg] Add a linalg.reshape op
Jan 7, 2020
dc7b84c
AMDGPU/GlobalISel: Fix unused variable warning in release
arsenm Jan 7, 2020
aa70876
[MC] Add parameter `Address` to MCInstPrinter::printInst
MaskRay Jan 3, 2020
3d87d0b
[MC] Add parameter `Address` to MCInstrPrinter::printInstruction
MaskRay Jan 3, 2020
ff554a9
Let PassBuilder Expose PassInstrumentationCallbacks
aqjune Jan 7, 2020
6598af4
[libc] Add __attribute__((always_inline)) to x86_64 syscall functions.
Jan 2, 2020
4c6a098
[OpenMP] NFC: Fix trivial typos in comments
kiszk Jan 7, 2020
188f72a
[libc] Move implementations of strcat and strcpy to the string direct…
Jan 6, 2020
08de551
[APFloat] Fix fusedMultiplyAdd when `this` equals to `Addend`
ekatz Jan 7, 2020
9890cc2
[lldb] Fix LLDB build after API change to printInst (D72172)
Teemperor Jan 7, 2020
5a9c24b
Fix compiler extension example cmake integration
Jan 7, 2020
63a222e
[APFloat] Fix out of scope usage of a pointer to local variable
ekatz Jan 7, 2020
4814b68
[SystemZ] Fix python failure in test case
uweigand Jan 7, 2020
ab1bcda
[NFC] Use isX86() instead of getArch()
tclin914 Jan 7, 2020
d364815
[lldb][NFC] Take a llvm::Triple in ClangASTContext constructor
Teemperor Jan 7, 2020
051c4d5
[LLD][ELF][AArch64] Do not use thunk for undefined weak symbol.
smithp35 Jan 6, 2020
216796f
[DebugInfo] Fix infinite loop caused by reading past debug_line end
jh7370 Jan 7, 2020
bd1dc6a
Fix "use of uninitialized variable" static analyzer warnings. NFCI.
RKSimon Jan 6, 2020
bcb47bb
Fix "use of uninitialized variable" static analyzer warnings. NFCI.
RKSimon Jan 6, 2020
c758e46
Fix Wdocumentation warnings. NFCI.
RKSimon Jan 7, 2020
27e6b17
[RISCV][Docs] Add RISC-V asm template argument modifiers
luismarques Jan 7, 2020
c69ae83
[clangd] Add path mappings functionality
sam-mccall Jan 7, 2020
cf4b916
[gn build] Port c69ae835d0e
llvmgnsyncbot Jan 7, 2020
14cd4a5
[SystemZ] Extend fp-strict-alias test case
uweigand Jan 7, 2020
65fdb34
[lldb][NFC] Use static_cast instead of reinterpret_cast where possible
Teemperor Jan 7, 2020
6ff1ea3
Fix "use of uninitialized variable" static analyzer warning. NFCI.
RKSimon Jan 7, 2020
60e0120
[ARM] Improve codegen of volatile load/store of i64
vhscampos Jan 2, 2020
3b417b7
Fix "pointer is null" static analyzer warning. NFCI.
RKSimon Jan 7, 2020
c0365aa
[X86] Standardize shuffle match/lowering function names. NFC.
RKSimon Jan 7, 2020
e34801c
[ARM][MVE] VPT Blocks: findVCMPToFoldIntoVPS
Jan 7, 2020
a000f2e
[clangd] Introduce bulletlists
kadircet Dec 12, 2019
3f2e3dc
[OPENMP]Do not diagnose references to non-integral types for ref in
alexey-bataev Jan 7, 2020
58e2e92
[DAGCombiner] reduce shuffle of concat of same vector
rotateright Jan 7, 2020
3c7f740
[TypePromotion] Use SetVectors instead of PtrSets
sparker-arm Jan 7, 2020
e334a3a
[docs] NFC: Fix typos in documents
zmodem Jan 7, 2020
a428386
AMDGPU/GlobalISel: Partially fix llvm.amdgcn.kill pattern import
arsenm Sep 15, 2019
f26ed6e
llc: Change behavior of -mcpu with existing attribute
arsenm Dec 9, 2019
e130eef
OpaquePtr: print byval types containing anonymous types correctly.
TNorthover Jan 7, 2020
9150d6b
AMDGPU/GlobalISel: Select llvm.amdgcn.wqm.vote
arsenm Sep 16, 2019
e699c03
AMDGPU/GlobalISel: Fix import of s_abs_i32 pattern
arsenm Jan 7, 2020
f896257
[InstCombine] try to pull 'not' of select into compare operands
rotateright Jan 7, 2020
9daa44c
Remove extraneous spaces
medismailben Jan 7, 2020
78b30a5
AMDGPU/GlobalISel: Fix readfirstlane pattern import
arsenm Jan 7, 2020
ee81180
[ARM][MVE] Renamed VPT Block tests and files to something more inform…
Jan 7, 2020
9f2d8b5
[HIP] Add option --gpu-max-threads-per-block=n
yxsamliu Dec 9, 2019
a3832f3
[AIX][XCOFF]Implement mergeable const
Jan 7, 2020
247a603
[LifetimeAnalysis] Do not forbid void deref type in gsl::Pointer/gsl:…
Xazax-hun Jan 2, 2020
46ac6a4
[analyzer] Update help text to reflect sarif support
Xazax-hun Jan 7, 2020
0e912e2
[X86] Pull out repeated SrcVT.getVectorNumElements() call. NFCI.
RKSimon Jan 7, 2020
55de6fc
[ARM] Regenerate bfi.ll test cases
RKSimon Jan 7, 2020
57835d0
[lldb] Initialize some bitfields in FuncUnwinders.cpp
labath Jan 7, 2020
751d4da
[clangd] Assert that the testcases in LocateSymbol.All have no diagno…
HighCommander4 Jan 2, 2020
16f47cf
[clangd] Heuristically resolve dependent call through smart pointer type
HighCommander4 Dec 16, 2019
c972f6f
[OPENMP]Allow using of members in standalone declaration pragmas.
alexey-bataev Jan 7, 2020
75eacbf
Fix issues reported by -Wrange-loop-analysis when building with lates…
aganea Jan 7, 2020
1d94fb2
[gicombiner] Add GIMatchTree and use it for the code generation
dsandersllvm Jan 7, 2020
2f1e5d9
[gn build] Port 1d94fb21118
llvmgnsyncbot Jan 7, 2020
b937669
[X86] Improve lowering of v2i64 sign bit tests on pre-sse4.2 targets
topperc Jan 7, 2020
afa8211
[X86] Improve lowering of (v2i64 (setgt X, -1)) on pre-SSE2 targets. …
topperc Jan 7, 2020
acd2580
[MachineOutliner][AArch64] Save + restore LR in noreturn functions
Jan 7, 2020
4558842
[OPENMP]Reduce calls for the mangled names.
alexey-bataev Jan 7, 2020
fb6e80d
[test] Move ppc64 tests from test/Preprocessor/init.c to init-ppc64.c
MaskRay Jan 7, 2020
8edf759
[PowerPC][Triple] Use elfv2 on freebsd>=13 and linux-musl
MaskRay Jan 7, 2020
b650390
[cmake] Use relative cmake binary dir for processing pass plugins.
Meinersbur Jan 7, 2020
640d0ba
[lldb/Lua] Add string conversion operator for SBTarget.
JDevlieghere Jan 7, 2020
68e70fb
AMDGPU: Fix not using v_cvt_f16_[iu]16
arsenm Sep 30, 2019
bd8d696
AMDGPU: Use ImmLeaf
arsenm Jan 7, 2020
de46ab6
AMDGPU: Fix misleading, misplaced end block comments
arsenm Jan 7, 2020
c3a10fa
AMDGPU: Remove VOP3Mods0Clamp0OMod
arsenm Jan 7, 2020
449ab10
AMDGPU: Add baseline test for missing pattern
arsenm Jan 7, 2020
76ee0de
[cmake] Use source-groups in Polly.
christetreault-llvm Jan 7, 2020
fe27e8e
Revert "[lldb/Lua] Add string conversion operator for SBTarget."
JDevlieghere Jan 7, 2020
6d52ede
[x86] add tests for extract-of-concat; NFC
rotateright Jan 7, 2020
c5877ec
Remove extraneous semicolon.
isanbard Jan 7, 2020
39c0570
[gicombiner] Correct 64f1bb5cd2c to account for MSVC's %p format
dsandersllvm Jan 4, 2020
4c935c6
[lldb/Test] Make TestConvenienceVariables more strict
JDevlieghere Jan 7, 2020
512b2c7
[lldb/Test] Remove old binary created by TestConvenienceVariables
JDevlieghere Jan 7, 2020
9685cf7
[X86] Enable v2i64->v2f32 uint_to_fp code in ReplaceNodeResults on SS…
topperc Jan 7, 2020
0c5102b
[libc++] Add additional benchmark functions to libcxx/benchmarks/stri…
EricWF Jan 7, 2020
73d9361
[clang-tidy] modernize-use-using uses AST and now supports struct def…
Jan 7, 2020
4844bf0
AMDGPU: Apply i16 add->sub pattern with zext to i32
arsenm Jan 7, 2020
577b0b5
AMDGPU/GlobalISel: Fix missing test for s16 icmp
arsenm Jan 7, 2020
a2d54fc
AMDGPU/GlobalISel: Add some missing G_SELECT testcases
arsenm Jan 7, 2020
6652cc0
AMDGPU/GlobalISel: Fix scalar G_SELECT for arbitrary pointers
arsenm Jan 7, 2020
5236608
Allow output constraints on "asm goto"
bwendling Jan 7, 2020
06d122b
Re-land "[lldb/Lua] Add string conversion operator for SBTarget."
JDevlieghere Jan 7, 2020
e886e76
Revert "Allow output constraints on "asm goto""
isanbard Jan 7, 2020
eee89cd
[X86] Add SSE4.1 command lines to vec-strict-inttofp-128.ll to cover …
topperc Jan 7, 2020
b6598bc
[AArch64][GlobalISel] Fold a chain of two G_PTR_ADDs of constant offs…
aemerson Jan 7, 2020
907a0ca
[PowerPC] Default ppc64 linux-gnu/freebsd to -fno-PIC
MaskRay Jan 7, 2020
13922f3
Fix warnings as errors that occur on sanitizer-x86_64-linux
dsandersllvm Jan 8, 2020
312a532
[GVN/FP] Considate logic for reasoning about equality vs equivalance …
preames Jan 8, 2020
5e2f4dc
Rewrite comment about what watchpoints Aarch64 supports.
jasonmolenda Jan 8, 2020
6563826
Revert "Re-land "[lldb/Lua] Add string conversion operator for SBTarg…
JDevlieghere Jan 8, 2020
c23c874
XFAIL load_extension.ll for all targets currently - it's failing on
echristo Jan 8, 2020
9de6a39
[libcxx] fix incorrect attribute property
kiszk Jan 8, 2020
f90a2c2
[docs] Improve HowTo commit changes from git
tclin914 Jan 8, 2020
8b8ba44
[SCEV] get more accurate range for AddExpr with wrap flag.
Jan 8, 2020
7e7f849
[mlir][spirv] Add lowering for std.fpext, std.fptrunc, std.sitofp.
antiagainst Jan 8, 2020
f7ca0c7
[docs] Fix duplicate explicit target name: developer policy
tclin914 Jan 8, 2020
9883b14
[mlir][spirv] Add lowering for standard bit ops
Jan 8, 2020
dd495e8
[mlir][spirv] Add lowering for std cmp ops.
Jan 8, 2020
22700f6
AMDGPU: Annotate EXTRACT_SUBREGs with source register classes
arsenm Jan 8, 2020
dab2921
Revert "[mlir][spirv] Add lowering for std.fpext, std.fptrunc, std.si…
antiagainst Jan 8, 2020
eac01f6
[mlir][spirv] Add lowering for std.fpext, std.fptrunc, std.sitofp.
Jan 8, 2020
917f46d
[RISCV] Fix evalutePCRelLo for symbols at the end of a fragment
jrtc27 Jan 8, 2020
9a621de
[X86] Adding fp128 support for strict fcmp
phoebewang Dec 26, 2019
adee645
[lldb/Test] Try to appease the Windows bot
JDevlieghere Jan 8, 2020
fc6f15d
[lldb/CMake] Only auto-enable Python when SWIG is found
JDevlieghere Jan 8, 2020
44f78f3
[NFC][Test] Add the option -enable-no-signed-zeros-fp-math for test
Jan 8, 2020
880734a
[libc] Add a convenience CMake rule to add testsuites.
Jan 7, 2020
583ba07
[clangd] Add xref for macros to FileIndex.
usx95 Dec 12, 2019
a1857e2
[libcxx][test] Fix span tests.
StephanTLavavej Jan 8, 2020
0a4daff
[lldb][NFC] Remove redundant ClangASTContext constructor that takes A…
Teemperor Jan 8, 2020
903e5c3
AArch64: add missing Apple CPU names and use them by default.
TNorthover Nov 15, 2019
b212eb7
Revert "[InstCombine] fold zext of masked bit set/clear"
kadircet Jan 8, 2020
dfeb873
[llvm-symbolizer]Fix printing of malformed address values not passed …
TH3CHARLie Jan 8, 2020
518597c
[lldb] Remove default llvm::Triple argument from ClangASTContext cons…
Teemperor Jan 8, 2020
96d2d96
[NFC][ARM] Update tests
sparker-arm Jan 8, 2020
1cf11a4
[Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWAR…
avl-llvm Dec 20, 2019
111ec8c
[gn build] (manually) merge 1cf11a4c67a15
nico Jan 8, 2020
55a51e1
Disallow an empty string literal in an asm label
AaronBallman Jan 8, 2020
346f6b5
[ARM][MVE] Enable masked gathers from vector of pointers
Jan 8, 2020
26ac792
[gn build] Port 346f6b54bd1
llvmgnsyncbot Jan 8, 2020
7a77ad1
Fixing a formatting nit; NFC
AaronBallman Jan 8, 2020
b2c2fe7
[NFC] Move InPQueue into arguments of releaseNode
ecnelises Jan 8, 2020
8e2b44f
[Intrinsic] Add fixed point division intrinsics.
bevin-hansson Jan 8, 2020
ba129c7
[clang-tidy] Disable match on `if constexpr` statements in template i…
abpostelnicu Jan 7, 2020
3100480
[ARM,MVE] Intrinsics for partial-overwrite imm shifts.
statham-arm Jan 8, 2020
dac7b23
[ARM,MVE] Intrinsics for variable shift instructions.
statham-arm Jan 8, 2020
ead8159
[JumpThreading] Thread jumps through two basic blocks
kazutakahirata Jan 8, 2020
c74a8ad
[OPENMP]Allow comma in combiner expression.
alexey-bataev Jan 8, 2020
780ba1f
[DAGCombiner] clean up extract-of-concat fold; NFC
rotateright Jan 8, 2020
5dfd523
[InstCombine] Adding testcase for Z / (1.0 / Y) => (Y * Z); NFC
rotateright Jan 8, 2020
1082799
[SelectionDAG] Use llvm::Optional<APInt> for FoldValue.
RKSimon Jan 8, 2020
07a569a
[amdgpu] Remove unused header. NFC.
darkbuck Jan 8, 2020
bbbbf8a
[lldb/CMake] Use LLDB's autodetection logic for libxml2
JDevlieghere Jan 8, 2020
5936717
Fix "pointer is null" static analyzer warning. NFCI.
RKSimon Jan 8, 2020
19bfb6d
Fix "pointer is null" static analyzer warning. NFCI.
RKSimon Jan 8, 2020
46e2f89
[MC] writeFragment - assert MCFragment::FT_Fill length is legal.
RKSimon Jan 8, 2020
96e2376
[ELF] Don't special case weak symbols for pie with no shared objects
MaskRay Dec 21, 2019
b841e11
[ELF] Delete an unused special rule from isStaticLinkTimeConstant. NFC
MaskRay Dec 21, 2019
29ccb12
[BranchAlign] Compiler support for suppressing branch align
preames Jan 8, 2020
d60b3b4
[X86] Add isel patterns for bitcasting between v32i1/v64i1 and float/…
topperc Jan 8, 2020
3811417
[X86] Custom type legalize v4i64->v4f32 uint_to_fp on sse4.1 targets …
topperc Jan 8, 2020
766ce87
[mlir][Linalg] Lower linalg.reshape to LLVM for the static case
Jan 6, 2020
659f7d4
[mlir] NFC: Move the state for managing aliases out of ModuleState an…
River707 Jan 8, 2020
0a01ec9
[clang-tidy] Remove broken test on Windows for `readability-misleadin…
abpostelnicu Jan 8, 2020
48b14e5
[MLIR] Fix ML IR build on Windows with Visual Studio
sstamenova Jan 8, 2020
ba181d0
[X86] Keep cl::opts at top of file [NFC]
preames Jan 8, 2020
b675a76
Merge memtag instructions with adjacent stack slots.
eugenis Sep 25, 2019
2823e91
Add a new AST matcher 'optionally'.
AIR20 Jan 8, 2020
43f938e
LTOVisibility.rst: fix up syntax in example
teresajohnson Jan 8, 2020
31992a6
[x86] add test for concat-extract corner case; NFC
rotateright Jan 8, 2020
1e25109
Canonicalize static alloc followed by memref_cast and std.view
asaadaldien Jan 8, 2020
78ce19b
[LLD] [COFF] Fix post-commit suggestions for absolute symbol equality
mstorsjo Jan 6, 2020
0b8ce37
[InstSimplify] add tests for select of true/false; NFC
rotateright Jan 8, 2020
0341c11
[lldb/SWIG] Refactor extensions to be non Python-specific
JDevlieghere Jan 8, 2020
2d258ed
Revert "[JumpThreading] Thread jumps through two basic blocks"
kazutakahirata Jan 8, 2020
edadb81
[lldb/CMake] Only auto-enable Lua when SWIG is found
JDevlieghere Jan 8, 2020
b98e825
Merge from 'sycl' to 'sycl-web' (#1)
Jan 8, 2020
58985df
Merge from 'master' to 'sycl-web' (#687)
Jan 9, 2020
33e9b41
Merge tag 'sycl-web/latest-buildable' into private/vlazarev/llvmspirv…
vladimirlaz Jan 9, 2020
e873e1f
[SYCL] pulldown SPIRV-LLVM-Translator (2674e50)
vladimirlaz Jan 9, 2020
6ba47e6
Enhance FPGA IVDep attribute testing
Jan 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ bool mergeAndDeduplicate(const TUReplacements &TUs, const TUDiagnostics &TUDs,
// FIXME: This will report conflicts by pair using a file+offset format
// which is not so much human readable.
// A first improvement could be to translate offset to line+col. For
// this and without loosing error message some modifications arround
// this and without loosing error message some modifications around
// `tooling::ReplacementError` are need (access to
// `getReplacementErrString`).
// A better strategy could be to add a pretty printer methods for
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-doc/BitcodeReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ClangDocBitcodeReader {
// or block to be read.
Cursor skipUntilRecordOrBlock(unsigned &BlockOrRecordID);

// Helper function to set up the approriate type of Info.
// Helper function to set up the appropriate type of Info.
llvm::Expected<std::unique_ptr<Info>> readBlockToInfo(unsigned ID);

llvm::BitstreamCursor &Stream;
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-doc/MDGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static void genMarkdown(const RecordInfo &I, llvm::raw_ostream &OS) {

if (!I.Members.empty()) {
writeHeader("Members", 2, OS);
for (const auto Member : I.Members) {
for (const auto &Member : I.Members) {
std::string Access = getAccess(Member.Access);
if (Access != "")
writeLine(Access + " " + Member.Type.Name + " " + Member.Name, OS);
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-doc/Representation.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ struct Reference {
bool mergeable(const Reference &Other);
void merge(Reference &&I);

SymbolID USR = SymbolID(); // Unique identifer for referenced decl
SymbolID USR = SymbolID(); // Unique identifier for referenced decl
SmallString<16> Name; // Name of type (possibly unresolved).
InfoType RefType = InfoType::IT_default; // Indicates the type of this
// Reference (namespace, record,
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-doc/Serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ populateParentNamespaces(llvm::SmallVector<Reference, 4> &Namespaces,
// A function to extract the appropriate relative path for a given info's
// documentation. The path returned is a composite of the parent namespaces.
//
// Example: Given the below, the diretory path for class C info will be
// Example: Given the below, the directory path for class C info will be
// <root>/A/B
//
// namespace A {
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
// This tool for generating C and C++ documenation from source code
// This tool for generating C and C++ documentation from source code
// and comments. Generally, it runs a LibTooling FrontendAction on source files,
// mapping each declaration in those files to its USR and serializing relevant
// information into LLVM bitcode. It then runs a pass over the collected
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ std::string createQualifiedNameForReplacement(
llvm::StringRef RawSymbolName,
llvm::StringRef SymbolScopedQualifiersName,
const find_all_symbols::SymbolInfo &MatchedSymbol) {
// No need to add missing qualifiers if SymbolIndentifer has a global scope
// No need to add missing qualifiers if SymbolIdentifier has a global scope
// operator "::".
if (RawSymbolName.startswith("::"))
return RawSymbolName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ buffer as only argument."
nil)

(defun clang-include-fixer--make-process (callback args)
"Start a new clang-incude-fixer process using `make-process'.
"Start a new clang-include-fixer process using `make-process'.
CALLBACK is called after the process finishes successfully; it is
called with a single argument, the buffer where standard output
has been inserted. ARGS is a list of additional command line
Expand All @@ -129,7 +129,7 @@ arguments. Return the new process object."
:stderr stderr)))

(defun clang-include-fixer--start-process (callback args)
"Start a new clang-incude-fixer process using `start-file-process'.
"Start a new clang-include-fixer process using `start-file-process'.
CALLBACK is called after the process finishes successfully; it is
called with a single argument, the buffer where standard output
has been inserted. ARGS is a list of additional command line
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-move/tool/ClangMove.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===-- ClangMove.cpp - move defintion to new file --------------*- C++ -*-===//
//===-- ClangMove.cpp - move definition to new file -------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-query/QueryParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ QueryRef QueryParser::doParse() {
return completeMatcherExpression();

Diagnostics Diag;
auto MatcherSource = Line.trim();
auto MatcherSource = Line.ltrim();
auto OrigMatcherSource = MatcherSource;
Optional<DynTypedMatcher> Matcher = Parser::parseMatcherExpression(
MatcherSource, nullptr, &QS.NamedValues, &Diag);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void FasterStrsplitDelimiterCheck::registerMatchers(MatchFinder *Finder) {
expr(ignoringParenCasts(stringLiteral(lengthIsOne()).bind("Literal")));

// Binds to a string_view (either absl or std) that was passed by value and
// contructed from string literal.
// constructed from string literal.
auto StringViewArg = ignoringElidableConstructorCall(ignoringImpCasts(
cxxConstructExpr(hasType(recordDecl(hasName("::absl::string_view"))),
hasArgument(0, ignoringParenImpCasts(SingleChar)))));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void TimeSubtractionCheck::check(const MatchFinder::MatchResult &Result) {
!InsideMacroDefinition(Result, MaybeCallArg->getSourceRange())) {
// Handle the case where the matched expression is inside a call which
// converts it from the inverse to a Duration. In this case, we replace
// the outer with just the subtraction expresison, which gives the right
// the outer with just the subtraction expression, which gives the right
// type and scale, taking care again about parenthesis.
bool NeedParens = parensRequired(Result, MaybeCallArg);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "NotNullTerminatedResultCheck.h"
#include "ParentVirtualCallCheck.h"
#include "PosixReturnCheck.h"
#include "SignedCharMisuseCheck.h"
#include "SizeofContainerCheck.h"
#include "SizeofExpressionCheck.h"
#include "StringConstructorCheck.h"
Expand Down Expand Up @@ -119,6 +120,8 @@ class BugproneModule : public ClangTidyModule {
"bugprone-parent-virtual-call");
CheckFactories.registerCheck<PosixReturnCheck>(
"bugprone-posix-return");
CheckFactories.registerCheck<SignedCharMisuseCheck>(
"bugprone-signed-char-misuse");
CheckFactories.registerCheck<SizeofContainerCheck>(
"bugprone-sizeof-container");
CheckFactories.registerCheck<SizeofExpressionCheck>(
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ add_clang_library(clangTidyBugproneModule
NotNullTerminatedResultCheck.cpp
ParentVirtualCallCheck.cpp
PosixReturnCheck.cpp
SignedCharMisuseCheck.cpp
SizeofContainerCheck.cpp
SizeofExpressionCheck.cpp
StringConstructorCheck.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void ForwardDeclarationNamespaceCheck::check(
const auto *Decl = Result.Nodes.getNodeAs<FriendDecl>("friend_decl");
assert(Decl && "Decl is neither record_decl nor friend decl!");

// Classes used in friend delarations are not marked referenced in AST,
// Classes used in friend declarations are not marked referenced in AST,
// so we need to check classes used in friend declarations manually to
// reduce the rate of false positive.
// For example, in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ static bool isDestExprFix(const MatchFinder::MatchResult &Result,
}

// If the destination array is the same length as the given length we have to
// increase the capacity by one to create space for the the null terminator.
// increase the capacity by one to create space for the null terminator.
static bool isDestCapacityFix(const MatchFinder::MatchResult &Result,
DiagnosticBuilder &Diag) {
bool IsOverflows = isDestCapacityOverflows(Result);
Expand Down
104 changes: 104 additions & 0 deletions clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
//===--- SignedCharMisuseCheck.cpp - clang-tidy ---------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "SignedCharMisuseCheck.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"

using namespace clang::ast_matchers;
using namespace clang::ast_matchers::internal;

namespace clang {
namespace tidy {
namespace bugprone {

static Matcher<TypedefDecl> hasAnyListedName(const std::string &Names) {
const std::vector<std::string> NameList =
utils::options::parseStringList(Names);
return hasAnyName(std::vector<StringRef>(NameList.begin(), NameList.end()));
}

SignedCharMisuseCheck::SignedCharMisuseCheck(StringRef Name,
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context),
CharTypdefsToIgnoreList(Options.get("CharTypdefsToIgnore", "")) {}

void SignedCharMisuseCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
Options.store(Opts, "CharTypdefsToIgnore", CharTypdefsToIgnoreList);
}

void SignedCharMisuseCheck::registerMatchers(MatchFinder *Finder) {
// We can ignore typedefs which are some kind of integer types
// (e.g. typedef char sal_Int8). In this case, we don't need to
// worry about the misinterpretation of char values.
const auto IntTypedef = qualType(
hasDeclaration(typedefDecl(hasAnyListedName(CharTypdefsToIgnoreList))));

const auto SignedCharType = expr(hasType(qualType(
allOf(isAnyCharacter(), isSignedInteger(), unless(IntTypedef)))));

const auto IntegerType = qualType(allOf(isInteger(), unless(isAnyCharacter()),
unless(booleanType())))
.bind("integerType");

// We are interested in signed char -> integer conversion.
const auto ImplicitCastExpr =
implicitCastExpr(hasSourceExpression(SignedCharType),
hasImplicitDestinationType(IntegerType))
.bind("castExpression");

const auto CStyleCastExpr = cStyleCastExpr(has(ImplicitCastExpr));
const auto StaticCastExpr = cxxStaticCastExpr(has(ImplicitCastExpr));
const auto FunctionalCastExpr = cxxFunctionalCastExpr(has(ImplicitCastExpr));

// We catch any type of casts to an integer. We need to have these cast
// expressions explicitly to catch only those casts which are direct children
// of an assignment/declaration.
const auto CastExpr = expr(anyOf(ImplicitCastExpr, CStyleCastExpr,
StaticCastExpr, FunctionalCastExpr));

// Catch assignments with the suspicious type conversion.
const auto AssignmentOperatorExpr = expr(binaryOperator(
hasOperatorName("="), hasLHS(hasType(IntegerType)), hasRHS(CastExpr)));

Finder->addMatcher(AssignmentOperatorExpr, this);

// Catch declarations with the suspicious type conversion.
const auto Declaration =
varDecl(isDefinition(), hasType(IntegerType), hasInitializer(CastExpr));

Finder->addMatcher(Declaration, this);
}

void SignedCharMisuseCheck::check(const MatchFinder::MatchResult &Result) {
const auto *CastExpression =
Result.Nodes.getNodeAs<ImplicitCastExpr>("castExpression");
const auto *IntegerType = Result.Nodes.getNodeAs<QualType>("integerType");
assert(CastExpression);
assert(IntegerType);

// Ignore the match if we know that the value is not negative.
// The potential misinterpretation happens for negative values only.
Expr::EvalResult EVResult;
if (!CastExpression->isValueDependent() &&
CastExpression->getSubExpr()->EvaluateAsInt(EVResult, *Result.Context)) {
llvm::APSInt Value1 = EVResult.Val.getInt();
if (Value1.isNonNegative())
return;
}

diag(CastExpression->getBeginLoc(),
"'signed char' to %0 conversion; "
"consider casting to 'unsigned char' first.")
<< *IntegerType;
}

} // namespace bugprone
} // namespace tidy
} // namespace clang
44 changes: 44 additions & 0 deletions clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//===--- SignedCharMisuseCheck.h - clang-tidy -------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_BUGPRONE_SIGNEDCHARMISUSECHECK_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_BUGPRONE_SIGNEDCHARMISUSECHECK_H

#include "../ClangTidyCheck.h"

namespace clang {
namespace tidy {
namespace bugprone {

/// Finds ``signed char`` -> integer conversions which might indicate a programming
/// error. The basic problem with the ``signed char``, that it might store the
/// non-ASCII characters as negative values. The human programmer probably
/// expects that after an integer conversion the converted value matches with the
/// character code (a value from [0..255]), however, the actual value is in
/// [-128..127] interval. This also applies to the plain ``char`` type on
/// those implementations which represent ``char`` similar to ``signed char``.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/bugprone-signed-char-misuse.html
class SignedCharMisuseCheck : public ClangTidyCheck {
public:
SignedCharMisuseCheck(StringRef Name, ClangTidyContext *Context);

void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;

private:
const std::string CharTypdefsToIgnoreList;
};

} // namespace bugprone
} // namespace tidy
} // namespace clang

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_BUGPRONE_SIGNEDCHARMISUSECHECK_H
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ AST_MATCHER(StringLiteral, containsNul) {

void StringLiteralWithEmbeddedNulCheck::registerMatchers(MatchFinder *Finder) {
// Match a string that contains embedded NUL character. Extra-checks are
// applied in |check| to find incorectly escaped characters.
// applied in |check| to find incorrectly escaped characters.
Finder->addMatcher(stringLiteral(containsNul()).bind("strlit"), this);

// The remaining checks only apply to C++.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ AST_MATCHER(CXXRecordDecl, hasDefaultConstructor) {
}

// Iterate over all the fields in a record type, both direct and indirect (e.g.
// if the record contains an anonmyous struct).
// if the record contains an anonymous struct).
template <typename T, typename Func>
void forEachField(const RecordDecl &Record, const T &Fields, Func &&Fn) {
for (const FieldDecl *F : Fields) {
Expand Down Expand Up @@ -424,7 +424,7 @@ void ProTypeMemberInitCheck::checkMissingMemberInitializer(
}

// Collect all fields in order, both direct fields and indirect fields from
// anonmyous record types.
// anonymous record types.
SmallVector<const FieldDecl *, 16> OrderedFields;
forEachField(ClassDecl, ClassDecl.fields(),
[&](const FieldDecl *F) { OrderedFields.push_back(F); });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void SlicingCheck::registerMatchers(MatchFinder *Finder) {
const auto IsWithinDerivedCtor =
hasParent(cxxConstructorDecl(ofClass(equalsBoundNode("DerivedDecl"))));

// Assignement slicing: "a = b;" and "a = std::move(b);" variants.
// Assignment slicing: "a = b;" and "a = std::move(b);" variants.
const auto SlicesObjectInAssignment =
callExpr(callee(cxxMethodDecl(anyOf(isCopyAssignmentOperator(),
isMoveAssignmentOperator()),
Expand Down Expand Up @@ -75,7 +75,7 @@ void SlicingCheck::DiagnoseSlicedOverriddenMethods(
const CXXRecordDecl &BaseDecl) {
if (DerivedDecl.getCanonicalDecl() == BaseDecl.getCanonicalDecl())
return;
for (const auto &Method : DerivedDecl.methods()) {
for (const auto *Method : DerivedDecl.methods()) {
// Virtual destructors are OK. We're ignoring constructors since they are
// tagged as overrides.
if (isa<CXXConstructorDecl>(Method) || isa<CXXDestructorDecl>(Method))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void GlobalNamesInHeadersCheck::check(const MatchFinder::MatchResult &Result) {

if (const auto *UsingDirective = dyn_cast<UsingDirectiveDecl>(D)) {
if (UsingDirective->getNominatedNamespace()->isAnonymousNamespace()) {
// Anynoumous namespaces inject a using directive into the AST to import
// Anonymous namespaces inject a using directive into the AST to import
// the names into the containing namespace.
// We should not have them in headers, but there is another warning for
// that.
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clang-tidy/google/IntegerTypesCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace runtime {
/// Finds uses of `short`, `long` and `long long` and suggest replacing them
/// with `u?intXX(_t)?`.
///
/// Correspondig cpplint.py check: 'runtime/int'.
/// Corresponding cpplint.py check: 'runtime/int'.
class IntegerTypesCheck : public ClangTidyCheck {
public:
IntegerTypesCheck(StringRef Name, ClangTidyContext *Context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace tidy {
namespace modernize {

void AvoidCArraysCheck::registerMatchers(MatchFinder *Finder) {
// std::array<> is avaliable since C++11.
// std::array<> is available since C++11.
if (!getLangOpts().CPlusPlus11)
return;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ std::string VariableNamer::createIndexName() {
return OldIndex->getName();
}

/// Determines whether or not the the name \a Symbol conflicts with
/// Determines whether or not the name \a Symbol conflicts with
/// language keywords or defined macros. Also checks if the name exists in
/// LoopContext, any of its parent contexts, or any of its child statements.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class DependencyFinderASTVisitor
///
/// In order to avoid this, this class looks at the container expression
/// `arr[k]` and decides whether or not it contains a sub-expression declared
/// within the the loop body.
/// within the loop body.
bool dependsOnInsideVariable(const clang::Stmt *Body) {
DependsOnInsideVariable = false;
TraverseStmt(const_cast<clang::Stmt *>(Body));
Expand Down
Loading