LLVM-Study-Notes
latest

Contents:

  • Important and useful LLVM APIs
  • LLVM IR
  • SSA
  • Analysis
  • Transform
  • Link Time Optimization
  • Sanitizer
  • Misc
    • Exploring C++ Undefined Behavior Using Constexpr
LLVM-Study-Notes
  • »
  • Misc
  • Edit on GitHub

Misc

Contents:

  • Exploring C++ Undefined Behavior Using Constexpr
    • Constant Expressions
    • An Example with Arithmetic Overflow
    • Conversions and values that can not be represented
    • Division by zero
    • Shifty characters
    • Everyones favorite pointer, nullptr
    • More pointer fun
    • End of life
    • Flowing off the end of a value returning function
    • Modifying a constant object
    • Accessing a non-active union member
    • Casting int to enum outside its range
    • Multiple unsequenced modifications
    • One More Inconsistency, Guaranteed Copy Elision
    • An Example, A Strong Integer Type
    • Conclusion
    • P.S.

  • Index

  • Module Index

  • Search Page

Previous Next

© Copyright 2022, Enna1. Revision 45ee880d.

Built with Sphinx using a theme provided by Read the Docs.