forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Add contracts representation and parsing. Much thanks to Peter for th… #3
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
Draft
EricWF
wants to merge
1,802
commits into
main
Choose a base branch
from
contracts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
1802 commits
Select commit
Hold shift + click to select a range
d5f5dc9
[SandboxIR] More boilerplate: Function, Argument, Constant, Instructi…
vporpo bbd52dd
[SLP]Remove operands upon marking instruction for deletion.
alexey-bataev 7aa906d
[RISCV] Merge the Arch and Exts variables in RISCVISAInfo::parseArchS…
topperc c02e8f7
[llvm][transforms] Add a new algorithm to SplitModule (#95941)
sergachev 7002ecb
[msan] Convert vector shadow to scalar before zext (#96722)
thurstond a1bc606
[Flang][Transform] Modify stack reclaim pass to use allocation addres…
agozillon a379b22
[IR] Use range-based for loops (NFC) (#97575)
kazutakahirata 92f4001
[Transforms] Use range-based for loops (NFC) (#97576)
kazutakahirata fd524d4
[BOLT] Add Demangle to Profile link components
shawbyoung 873c3f7
Revert "[SLP]Remove operands upon marking instruction for deletion."
alexey-bataev af784a5
[ThinLTO] Use a set rather than a map to track exported ValueInfos. (…
mingmingl-llvm a3c5c83
[DAGCombiner] Remove unneeded getValueType() calls in visitMULHS/MULH…
topperc b586498
[flang] Fix failing test (#97634)
Leporacanthicus 04a1a34
[Driver] Add -Wa, options --crel and --allow-experimental-crel
MaskRay 4c63672
[OpenMP] Fix use of ompt_start_tool in ompd test. (#97616)
hansangbae 6aed0d5
[libc] created integration tests for newhdrgen (#97361)
aaryanshukla 611212f
AMDGPU/GlobalISel: Legalize atomicrmw fmin/fmax (#97048)
arsenm 4a1fdeb
[libc] reordered Function class parameters and moved yaml files (#97329)
RoseZhang03 5828b04
[BOLT][DWARF] Refactor legacy ranges writers (#96006)
sayhaan 7d68d9d
[libc][math] Implement correctly rounded double precision tan (#97489)
lntue 10b43f4
[Clang][Sema] Correctly transform dependent operands of overloaded bi…
sdkrystian af7ee51
[mlir][bytecode] Fix external resource bytecode parsing (#97650)
eaabd76
Revert "[MLIR][Vector] Generalize DropUnitDimFromElementwiseOps to no…
hanhanW d3a76b0
[llvm][SLPVectorizer] Fix a bad cast assertion (#97621)
jroelofs 3eebeb7
[libc] Add aligned_alloc (#96586)
PiJoules 2ef5b82
[libc][docs] Update full host build docs (#97643)
michaelrj-google 4c79fac
[BOLT] Remove workaround for flushPendingLabels
MaskRay f2c6add
[MC] Remove remnant code related to pending labels
MaskRay 089ba11
[Linker] Use a range-based for loop (NFC) (#97656)
kazutakahirata 665efe8
[libc] Add LIBC_NAMESPACE_DECL macro (#97109)
PiJoules 94471e7
[MC] Move MCAssembler::isSymbolLinkerVisible to MCSymbolMachO
MaskRay a0c6b8a
[BOLT][docs] Add merge-fdata to Linux optimization guide (#97659)
maksfb 73f5f83
[BasicBlockSections] Using MBBSectionID as DenseMap key (#97295)
HaohaiWen 507b0f6
[AArch64] Clean up ptrauth-call test a bit. NFC.
ahmedbougacha ac20135
[RISCV] Rematerialize vid.v (#97520)
lukel97 32f7672
[Clang][OpenMP] This is addition fix for #92210. (#94802)
jyu2-git 8ce1aed
[flang] Lower MATMUL to type specific runtime calls. (#97547)
vzakhari 24cee1c
[SPIR-V] Add __spirv_ wrappers to Non-Uniform, Atomic, Convert Instru…
VyacheslavLevytskyy 8431170
[emacs] More consistently highlight value keywords that appear in vec…
goldsteinn 2acb068
[PAC][llvm-readobj][ELF][AArch64] Define AUTH relocations for signed …
kovdan01 86187ed
[clang][Interp] Fix init chain in local initializers
tbaederr 948862b
[mlir][nvvm] Fix the verifier of `wgmma.mma_async` wrt transposed lay…
shubaoyu2 0ad6ac8
[NFC][MLIR] Fix: `alloca` promotion for `AllocationOpInterface` (#97672)
nikalra 2dda8a2
Revert "[clang][Interp] Fix init chain in local initializers"
tbaederr 30df629
[lldb][DataFormatter][NFC] Remove duplicate null-check in std::map it…
Michael137 c67653f
[RISCV] Support vXf16 vector_shuffle with Zvfhmin. (#97491)
topperc 899fe2c
[CVP][LVI] Fix incorrect scalar type when getting constant folded vec…
goldsteinn a2ed216
[LVI] Simplify the getPredicateResult() implementation (NFC)
nikic 97a2bd8
Revert "[mlir][loops] Reland Refactor LoopFuseSiblingOp and support p…
pifon2a ebab105
[IR] Don't strip through pointer to vector of pointer bitcasts
nikic 927def4
Revert "[lldb] Print empty enums as if they were unrecognised normal …
DavidSpickett 67b302c
[mlir][vector] Add vector.step operation (#96776)
c-rhodes 7b34cad
[AArch64] Extract bf16 cases from `itofp.ll` to `itofp-bf16.ll`, NFC.
Him188 54de090
[AArch64] Add i128 and fp128 tests to `itofp.ll`. NFC
Him188 173514d
[AArch64] Add fp128 tests in `fcmp.ll`. NFC
Him188 328d9f6
Reland "[lldb] Print empty enums as if they were unrecognised normal …
DavidSpickett 4002e38
[RISCV] Use splat shorthand in strided load store tests. NFC
lukel97 28be3f8
[LAA] Cache pointer bounds expansions (NFCI).
fhahn f99746f
[Orc][RuntimeDyld] Return after handling error (#95364)
nikic 94b2b1d
Fix MSVC "not all control paths return a value" warning. NFC
RKSimon 81660bb
[AArch64] remove pointless AEK_NONE (#97569)
tmatheson-arm 2c0add9
[TTI] Return a more sensible cost for histogram intrinsic. (#97397)
huntergr-arm e6cf292
[InstCombine][X86] Add some basic knownbits tests for PMULH/PMULHU
RKSimon 5c204b1
[ValueTracking][X86] computeKnownBitsFromOperator - add PMULH/PMULHU …
RKSimon 2b3b405
[LV] Don't vectorize first-order recurrence with VF <vscale x 1 x ..>
fhahn e7bfd4d
[Mem2Reg] Add some single store tests (NFC)
nikic 07b3e2c
[LLDB] XFail on Windows TestThreadAPI.py test_StepInstruction
omjavaid d6af73e
[compiler-rt][Fuzzer] Disable fuzzer-leak test
DavidSpickett 4835572
[analyzer] Check the correct first and last elements in cstring.Unini…
Szelethus 7fb71d1
[SystemZ] Fix handling of target triples on Debian (#95407) (#97546)
iii-i 42b193c
[AMX] Error out when AMX DP instructions use same registers (#97686)
phoebewang 99f6ff9
[Flang][OpenMP] Use InsertionGuard in DataSharingProcessor (#97562)
skatrak 6222c8f
[IR][LangRef] Add partial reduction add intrinsic (#94499)
NickGuy-Arm f58930f
[Mem2Reg] Don't use single store optimization for potentially poison …
nikic bbc6504
[NFC] [APFloat] Refactor IEEEFloat::toString (#97117)
Ariel-Burton 3cab132
[clang][analyzer][doc] Migrate checkers-related docs from HTML to RST…
gamesh411 218f71d
[DebugInfo][LowerConstantIntrinsics] Fix the missing debug location o…
Apochens e0f4d27
[DebugInfo][LoopFlatten] Fix missing debug location update for new br…
Apochens 2532ebb
[X86] Add test showing failure to concat VBLENDVB nodes back together…
RKSimon d43ec97
[X86] combineConcatVectorOps - IsConcatFree - peek through bitcasts t…
RKSimon f329e3e
[clang-tidy] Add `bugprone-pointer-arithmetic-on-polymorphic-object` …
Discookie 0035c2e
[gn build] Port f329e3ed9070
llvmgnsyncbot b12449f
[CodeGen] Refactor and document ThunkInserter (#97468)
atrosinenko 94a067a
[LLDB] Support exception breakpoints for plugin-provided languages (#…
walter-erquinigo 361350f
[BOLT][DWARF] Deduplicate Foreign TU list (#97629)
ayermolo 817f0d9
[Flang][OpenMP] NFC: Remove unused argument for omp.target lowering (…
skatrak 5db6eac
[X86] Avoid useless DomTree in flags copy lowering (#97628)
aengelke f15266e
[MC][ELF] Emit instructions directly into fragment (#94950)
aengelke 655651a
[libc++] Upgrade to GCC 14 (#97205)
philnik777 8299bfa
[VPlan] Extract reduction result insertion point to variable (NFCI).
fhahn 79d6f52
[LVI] Use Constant instead of Tristate for predicate results
nikic f4d058f
[SelectionDAG] Ignore LegalTypes parameter in TargetLoweringBase::get…
topperc 34fe032
[DAGCombiner] Use getShiftAmountConstant where possible. (#97683)
topperc fbd1b65
[lldb][DataFormatter][NFC] Move std::map iterator formatter into LibC…
Michael137 687531f
[DAG] PromoteIntRes_EXTRACT_SUBVECTOR - pull out repeated getOperand/…
RKSimon bb6ab8b
[TargetLowering] Update the description of getShiftAmountTy. NFC
topperc 2307d27
[libc] fix float_comparison_test when an emulator is used to run the …
mikhailramalho 8bb4294
[libc] Fix compilation warnings on 32-bit archs (#97745)
mikhailramalho 0ccec54
[libc] Fix compilation when long double is used as float128 (#97747)
mikhailramalho 834ecc8
[clang] CTAD alias: fix transformation for require-clause expr Part2.…
hokein 4f77677
[libc] Implement fcntl when only SYS_fcntl64 is available (#97740)
mikhailramalho d1dc416
Fix MSVC 1920+ auto NTTP mangling for pointers to members (#97007)
MaxEW707 093ddac
[libc++][chrono] Fixes leap seconds. (#90070)
mordante bb979cd
Improve codegen, Start on constification.
EricWF d1c911f
[clang][FMV] Do not omit explicit default target_version attribute. (…
labrinea 8270485
[X86] var-permute-*.ll - check memory address math
RKSimon e975ff0
[X86] matchAddressRecursively - don't fold zext(shl(x,c)) -> shl(zext…
RKSimon c1a5f1e
[Support] Use range-based for loops (NFC) (#97657)
kazutakahirata b298e2d
[LLD] [MinGW] Reinstate the former spelling in the version message (#…
mstorsjo 3141c11
[SelectionDAG] Remove LegalTypes argument from getShiftAmountTy. NFC …
topperc 7a9ef0f
Adding masked operation to OpenMP Dialect (#96022)
anchuraj 839ed1b
[MemProf][compiler-rt] Update MemProfData preprocessor directives
boomanaiden154 4762f3b
[RISCV][TTI] Add cost of type based binOp VP intrinsics with function…
ElvisWang123 bfa762a
[MLIR][Python] fix class name of powf and negf in linalg (#97696)
xurui1995 8419da8
[SelectionDAG] Remove LegalTypes argument from getShiftAmountConstant…
topperc f737865
Revert "[llvm-config] Quote and escape paths if necessary (#97305)"
aganea 33112cb
[DAGCombiner] Remove unnecessary assert from getShiftAmountTy wrapper…
topperc ffc459d
[RISCV] Add a check in lowerSELECT after foldBinOpIntoSelectIfProfita…
Yunzezhu94 9e21174
[clang] Avoid 'raw_string_ostream::str' (NFC)
JOE1994 23aff11
[RISCV] Add FeaturePredictableSelectIsExpensive
wangpc-pp db782b4
[RISCV] Don't forward AVL in VSETVLIInfo if it would clobber other de…
lukel97 c7ee204
[OpenMP] Fix stack corruption due to argument mismatch (#96386)
sushgokh 5ce141f
[symbolizer] Empty string is not an error (#97781)
spavloff a3ba6a7
[MC,MachO] Simplify IndirectSybols
MaskRay d2dd4b5
[libc++] Adds a new feature-test macro generator class. (#90889)
mordante 1d4d92d
[MC] Move MCAssembler::IndirectSymbols to MachObjectWriter
MaskRay 7c4dbad
[DebugInfo][SimplifyCFGPass] Fix the missing debug location update fo…
Apochens 093aaca
[clang][analyzer][doc] Migrate user-related docs from HTML to RST (#…
gamesh411 009082a
[MC] Move MCAssembler::DataRegions to MachObjectWriter
MaskRay 74984de
[X86][CodeGen] Convert masked.load/store to CLOAD/CSTORE node only wh…
KanRobert c60b930
Revert "[X86][CodeGen] Convert masked.load/store to CLOAD/CSTORE node…
KanRobert eb7ebd5
[llvm-cov] Remove View member from MCDCView and BranchView (#97734)
nikic 8101cbf
[ompd] Fix strict aliasing violation in TargetValue::getValue() (#97739)
nikic d6df018
[MLIR] Add the convergent attribute to LLVM Dialect (#97709)
FMarno a14a53e
[openmp] Add ompdModule dependency to check-ompd (#97736)
nikic 27bb2a3
[mlir][Pass] Handle escaped pipline option values (#97667)
nikalra a48305e
[X86][CodeGen] Convert masked.load/store to CLOAD/CSTORE node only wh…
KanRobert daaea12
[Mem2Reg] Always allow single-store optimization for dominating stores
nikic b3fa2a6
[lldb][FreeBSD] Fix NativeRegisterContextFreeBSD_x86_64() declaration…
kiyolee e4b2842
[SelectionDAG] Handle VSCALE in isKnownNeverZero (#97789)
lukel97 b546096
[VectorCombine] foldShuffleToIdentity - handle bitcasts with equal el…
RKSimon 99d6c6d
[VPlan] Model branch cond to enter scalar epilogue in VPlan. (#92651)
fhahn 2d0c4c3
[Flang][OpenMP] Remove unused OpWithBodyGenInfo attributes (#97572)
skatrak 5aacf93
[libc++] Use _Complex for multiplication and division of complex floa…
philnik777 fbd7360
[clang][Interp] Short-cirtuit Move/Copy constructors if we can
tbaederr 928fde3
[X86] is_fpclass-fp80.ll - regenerate with standard X86/X64 prefixes
RKSimon 3d2961b
[X86] zero-remat.ll - regenerate with standard X86/X64 prefixes
RKSimon 03000f0
[X86] fp-strict-scalar-cmp-fp16.ll - regenerate with standard X86/X64…
RKSimon 0fbb320
[X86] csr-split.ll - regenerate with standard X86/X64 prefixes
RKSimon 720b958
[Flang][OpenMP] NFC: Share DataSharingProcessor creation logic for al…
skatrak 6fbd26b
[clang][Interp] Add QualType parameter to Pointer::toRValue
tbaederr cc53b95
[AArch64] When hardening against SLS, only create called thunks (#97…
atrosinenko f926e19
Reapply "[clang][Interp] Fix init chain in local initializers"
tbaederr 8ec9840
[CodeGen] Add dump() to MachineTraceMetrics.h
wangpc-pp eedc2c8
[LV] Remove now obsolete DT updates of scalar exit block.
fhahn b52c512
[MLIR][OpenMP] Remove OpenMPDialectFoldInterface (#97577)
skatrak 5d79110
[Pipelines] Perform mergefunc after constmerge (#92498)
yamt 2f0700a
[clang][Interp] Add a missing template keyword
tbaederr 959ff45
[LV] Regenerate test checks for zero_unroll.ll (NFC).
fhahn d6e5b14
[NFC][opt] Improve help message (#97805)
omern1 00c622e
[clang][Interp][Test] Add test for #97302
tbaederr db7db68
[libc++] Use __is_array if the builtin is fixed (#93037)
philnik777 ccc0b66
[clang] Avoid 'raw_string_ostream::str' (NFC)
JOE1994 e2cee2c
[BOLT][AArch64] Fixes assertion errors occurred when perf2bolt was ex…
kaadam f542796
[lld][ELF] Annotate Bitfields with Preferred Types (#97737)
lenary 7102eae
[lld][ELF] Annotate Bitfields with Preferred Types (#97737)
lenary d4216b5
[clang][CodeGen][AMDGPU] Enable AMDGPU `printf` for `spirv64-amd-amdh…
AlexVlx 9f2215a
[libc][math] Fix signed zeros for erff. (#97742)
lntue ac76ce2
[libc][math][c23] Classify f16fma{,f,l} as LLVM libc extensions (#97728)
overmighty 18b575d
[libc++abi] Fixing up LIBCXXABI_ADDITIONAL_COMPILE_FLAGS (#97608)
zibi2 2bc474b
[InstCombine][X86] Pull out repeated uses of PatternMatch namespace. …
RKSimon ae0d224
[BPF] Fix linking issues in static map initializers (#91310)
mejedi b0b3c1a
[gn] port 5aacf93a8968
nico d177a94
[IR] Add Constant::toConstantRange() (NFC)
nikic 4339d2e
[CVP] Add missing CHECK lines in test (NFC)
nikic f92bfca
[AArch64] All bits of an exact right shift are demanded (#97448)
momchil-velikov 130f0f5
[LVI][CVP] Add support for vector comparisons
nikic 3bb2563
[mlir][vector] Fix crash in `vector.insert` canonicalization (#97801)
matthias-springer 9315645
[mlir][python] auto attribute casting (#97786)
makslevental 3449303
LDist/test: clean up and modernize (NFC) (#97822)
artagnon 0488f21
[InstCombine][X86] Add test showing failure to peek through bitcast+s…
RKSimon 6c1c97c
[InstCombine][X86] Peek through bitcast+shuffle+bitcast sequence when…
RKSimon 3bfc516
[lldb-dap][NFC] Minor rename
44248d2
[PGO][compiler-rt] Add a test to ensure include files do not diverge …
boomanaiden154 23d1d95
[LLVM][compiler-rt][AArch64] Refactor AArch64 CPU features (#97777)
boomanaiden154 0f1da49
[libc] Fix readlink tests on 32-bit systems (#97850)
mikhailramalho 788731c
[clang] Implement P3144R2 "Deleting a Pointer to an Incomplete Type..…
Endilll fc66543
Revert "[libc] Fix readlink tests on 32-bit systems" (#97852)
mikhailramalho 683c8e9
[libc++] Adds a missing include.
mordante 1ed84a8
[clang-doc] fix bug introduced by asset test (#97540)
PeterChou1 e70f376
[MCParser] Simplify macro-like body expansion
MaskRay f6ae0d3
[CodeGen] Pre-commit test case related to ComputeNumSignBits for SHL …
bjope c2fbc70
[SelectionDAG] Let ComputeKnownSignBits handle (shl (ext X), C) (#97695)
bjope ac03ae3
[LV] Preserve LAA in LoopVectorize (NFCI).
fhahn 812f9e8
[MCParser] .altmacro: ignore & after a token
MaskRay f8b1ca4
[MCParser] .altmacro: Support argument expansion not preceded by \
MaskRay 3a49706
[AArch64,test] Improve ilp32-diagnostics.s
MaskRay 37bee25
[BOLT][NFC] Refactor function matching (#97502)
shawbyoung 4a0aff1
MCAssembler: Clean up iterator types for Symbols
MaskRay 045e68f
[libc] Change the test file names used in readlink_test and readlinka…
lntue dc1da93
[BOLT][BAT] Add support for three-way split functions (#93760)
aaupov 3485540
[llvm] Avoid 'raw_string_ostream::str' (NFC)
JOE1994 ceade83
[clang-format] Skip block commented out includes when sorting them (#…
owenca b75453b
MCAssembler: Remove unneeded non-const iterators for Sections and mis…
MaskRay 8f5b144
[bazel] Port #97777 (#97868)
keith 88381ce
[RISCV] Hoist some common setOperationActions to a common place. NFC
topperc f118c88
[RISCV] Remove unnecessary setOperationAction for ISD::SELECT_CC for …
topperc 593f708
[Support] Silence function cast warning when building with Clang ToT …
aganea 10e1b93
[compiler-rt] Silence function cast warning when building with Clang …
aganea cf1ded3
[lldb] Silence function cast warning when building with Clang ToT tar…
aganea be26e54
[openmp] Silence warning when building the x64 Windows LLVM release p…
aganea 6337fdc
[RISCV] Use EXTLOAD in lowerVECTOR_SHUFFLE. (#97862)
topperc 0b9f284
[RISCV] Remove unused check-prefixes. NFC
topperc a348824
[RISCV] Allow folding vmerge with implicit passthru when true has tie…
lukel97 ccf357f
[libc] Add `dlfcn.h` headers (#97772)
izaakschroeder 9cb9a97
[CMake] Use Clang to infer the target triple (#89425)
petrhosek 2c6d5fd
A lot of forward progress.
EricWF 249f571
whitespace changes
EricWF acd7a68
[llvm] Remove redundant calls to std::unique_ptr<T>::get (NFC) (#97778)
kazutakahirata 874ca08
[Clang][ExprConstant] fix constant expression did not evaluate to int…
Backl1ght ac9d34a
[clang-doc] revert asset bug fix (#97882)
PeterChou1 5aa8ef8
[libc++][test] Updates sized deallocation tests. (#97833)
mordante 126f81d
[NFC][libc++] removes std:: qualification,
mordante 55b95a7
[mlir][Transforms][NFC] Dialect conversion: Reland docs improvement (…
matthias-springer 88b2629
[AArch64][PAC] Support BLRA* instructions in SLS Hardening pass (#97605)
atrosinenko f90bac9
Revert "[AArch64][PAC] Support BLRA* instructions in SLS Hardening pa…
atrosinenko be3a8b8
[clang] Add C++26 diagnostics to compatibility diagnosic groups (#97806)
Endilll 4a9aef6
DynamicAPInt: optimize size of structure (#97831)
artagnon de88b2c
[Clang] Simplify release notes and remove irrelevant comment (#96407)
spaits f8834ed
[libc][C23][math] Implement cospif function correctly rounded for all…
HendrikHuebner 9374f83
Outline X86 autoupgrade patterns (#97851)
jholewinski-nv 2da0055
[libc++][NFC] Merge identical char_traits functions into a base class…
philnik777 d64efe4
[lld-macho] Remove symbols to `__mod_init_func` with `-init_offsets` …
BertalanD e55585f
[Clang] Fix typo in cxx_status.html
cor3ntin 9e94043
[libc++] Remove annotations for GCC 13 and update the documentation (…
philnik777 048815c
Revert "[lldb] Silence function cast warning when building with Clang…
aganea b4b17d9
Revert "[compiler-rt] Silence function cast warning when building wit…
aganea 57b76b4
Revert "[Support] Silence function cast warning when building with Cl…
aganea 6e4bb60
[libc++] Assume newer LLVM versions for not-yet-released macOS versions
ldionne 4eee4d5
change flags, but break clang
EricWF b039625
Add contracts representation and parsing. Much thanks to Peter for th…
EricWF 6b6d951
fix todo
EricWF 9674f45
get it working end-to-end
EricWF 93a6ba5
a bunch of work, most of it broken
EricWF 4b91b34
Get templates working.
EricWF 670df13
Improve codegen, Start on constification.
EricWF 33eaf39
A lot of forward progress.
EricWF c8290ce
whitespace changes
EricWF d19459f
change flags, but break clang
EricWF acd41cd
finish merge
EricWF File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2575,6 +2575,20 @@ def SetJmpEx : MSLibBuiltin<"setjmpex.h"> { | |
let Prototype = "int(jmp_buf)"; | ||
} | ||
|
||
// C++ contracts | ||
def ContractViolation : Builtin { | ||
let Spellings = ["handle_contract_violation"]; | ||
let Prototype = "void()"; | ||
let Attributes = [NoThrow, NoReturn, Constexpr]; | ||
} | ||
|
||
def ContractAssert : Builtin { | ||
let Spellings = ["__builtin_contract_assert"]; | ||
let Attributes = [NoThrow, Constexpr]; | ||
|
||
let Prototype = "void(bool)"; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dead code? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep. |
||
|
||
// C99 library functions | ||
// C99 stdarg.h | ||
def VaStart : LibBuiltin<"stdarg.h"> { | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha :)