aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaCast.cpp
AgeCommit message (Expand)AuthorFilesLines
2022-04-09[randstruct] Add randomize structure layout supportConnor Kuehl1-0/+17
2022-04-08Revert D121556 "[randstruct] Add randomize structure layout support"Fangrui Song1-17/+0
2022-04-08[randstruct] Add randomize structure layout supportConnor Kuehl1-0/+17
2022-02-12[clang][sema] TryStaticCast - use castAs<> instead of getAs<> to avoid derefe...Simon Pilgrim1-1/+1
2022-02-07[SYCL] Disallow explicit casts between mismatching address spacesMariya Podchishchaeva1-1/+1
2021-10-12[clang] p0388 conversion to incomplete arrayNathan Sidwell1-1/+3
2021-07-30[PowerPC] Emit error for Altivec vector initializations when -faltivec-src-co...Amy Kwan1-1/+24
2021-07-19[PowerPC] Implement vector bool/pixel initialization under -faltivec-src-comp...Amy Kwan1-5/+18
2021-07-05[C++][Sema] Ignore top-level qualifiers in castsOle Strohm1-0/+9
2021-06-11[ADT] Remove APInt/APSInt toString() std::string variantsSimon Pilgrim1-1/+1
2021-06-09[clang] NFC: Rename rvalue to prvalueMatheus Izvekov1-9/+10
2021-05-28[Matrix] Move C++ matrix cast checks to TryStaticCast.Florian Hahn1-14/+8
2021-05-17[OpenCL] Fix reinterpret_cast of vectorsOle Strohm1-0/+10
2021-05-16[Matrix] Implement static cast for matrix typesSaurabh Jha1-0/+7
2021-05-04[Matrix] Implement C-style explicit type conversions in CXX for matrix typesSaurabh Jha1-0/+7
2021-04-10[Matrix] Implement C-style explicit type conversions for matrix types.Saurabh Jha1-4/+12
2021-03-24[Clang][Sema] Implement GCC -Wcast-function-typeYuanfang Chen1-1/+99
2021-03-12[OpenCL] Refactor diagnostic for OpenCL extension/featureAnton Zabaznov1-2/+2
2020-11-19[AArch64][SVE] Allow C-style casts between fixed-size and scalable vectorsJoe Ellis1-0/+13
2020-10-08[AST][RecoveryExpr] Support dependent cast-expr in C for error-recovery.Haojian Wu1-0/+11
2020-09-16[Sema][MSVC] warn at dynamic_cast/typeid when /GR- is givenZequan Wu1-0/+12
2020-09-14[AST][FPEnv] Keep FP options in trailing storage of CastExprSerge Pavlov1-15/+14
2020-09-12Revert "[AST][FPEnv] Keep FP options in trailing storage of CastExpr"Serge Pavlov1-13/+15
2020-09-12[AST][FPEnv] Keep FP options in trailing storage of CastExprSerge Pavlov1-15/+13
2020-09-08Revert 3e782bf809 "[Sema][MSVC] warn at dynamic_cast when /GR- is given"Hans Wennborg1-12/+0
2020-09-07[Sema][MSVC] warn at dynamic_cast when /GR- is givenZequan Wu1-0/+12
2020-08-16[Sema] Use the proper cast for a fixed bool enum.Mark de Wever1-1/+7
2020-08-07[Sema] Add casting check for fixed to fixed point conversionsVince Bridgers1-0/+2
2020-07-28[clang] Pass the NamedDecl* instead of the DeclarationName into many diagnost...Bruno Ricci1-4/+2
2020-06-10[clang][Attribute] Fix noderef attribute false-negativesLeonard Chan1-0/+30
2020-06-05[ARM] Add __bf16 as new Bfloat16 C TypeTies Stuij1-0/+14
2020-06-01[Matrix] Implement matrix index expressions ([][]).Florian Hahn1-0/+3
2020-05-22[SYCL] Prohibit arithmetic operations for incompatible pointersAlexey Bader1-4/+4
2020-05-18[OpenCL] Added addrspace_cast operator in C++ mode.Anastasia Stulova1-18/+50
2020-03-25[Sema][SVE] Allow casting SVE types to themselves in CRichard Sandiford1-0/+7
2020-03-09Don't emit pointer to int cast warnings under -Wmicrosoft-castArthur Eubanks1-3/+1
2020-03-07[Sema] Add -Wpointer-to-enum-cast and -Wvoid-pointer-to-enum-castNathan Chancellor1-5/+10
2020-03-05Add warnings for casting ptr -> smaller int for C++ in Microsoft modeArthur Eubanks1-6/+12
2020-02-22[Sema] Fix pointer-to-int-cast diagnostic for _BoolMark de Wever1-1/+2
2020-02-16[Sema] Adds the pointer-to-int-cast diagnosticMark de Wever1-6/+20
2020-02-07[OpenCL] Restrict addr space conversions in nested pointersAnastasia Stulova1-0/+18
2020-01-09[Concepts] Function trailing requires clausesSaar Raz1-1/+1
2019-12-18Refactor CompareReferenceRelationship and its callers in preparation forRichard Smith1-7/+3
2019-12-16Check whether the destination is a complete type in a static_cast (orRichard Smith1-3/+8
2019-11-04[Diagnostics] Improve some error messages related to bad use of dynamic_castDávid Bolvanský1-1/+1
2019-10-24When diagnosing an ambiguity, only note the candidates that contributeRichard Smith1-1/+1
2019-10-19Sema: Create a no-op implicit cast for lvalue function conversions.Peter Collingbourne1-1/+2
2019-10-07Fix behavior of __builtin_bit_cast when the From and To types are theRichard Smith1-5/+0
2019-08-12[Sema] Check __builtin_bit_cast operand for completeness before materializing...Erik Pilkington1-3/+4
2019-08-12[Sema] Require a complete type for __builtin_bit_cast operandsErik Pilkington1-0/+8