forked from OSchip/llvm-project
5d613e42d3
Use `StringLiteral` for function return type if it is known to return constant string literals only. This will make it visible to API users, that such values can be safely stored, since they refers to constant data, which will never be deallocated. `StringRef` is general is not safe to store for a long term, since it might refer to temporal data allocated in heap. Add `inline` and `constexpr` methods support to `OpMethod`. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D97390 |
||
---|---|---|
.. | ||
Argument.cpp | ||
Attribute.cpp | ||
Builder.cpp | ||
CMakeLists.txt | ||
Constraint.cpp | ||
Dialect.cpp | ||
Format.cpp | ||
Interfaces.cpp | ||
OpClass.cpp | ||
OpTrait.cpp | ||
Operator.cpp | ||
Pass.cpp | ||
Pattern.cpp | ||
Predicate.cpp | ||
Region.cpp | ||
SideEffects.cpp | ||
Successor.cpp | ||
Type.cpp | ||
TypeDef.cpp |