llvm/include
Aditya Nandakumar db0798140d [GISel]: Fix undefined behavior while accessing DefaultAction map
We end up dereferencing the end iterator here when the Aspect doesn't exist in the DefaultAction map.
Change the API to return Optional<LLT> and return None when not found.
Also update the callers to handle the None case

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302963 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-12 22:43:58 +00:00
..
llvm [GISel]: Fix undefined behavior while accessing DefaultAction map 2017-05-12 22:43:58 +00:00
llvm-c Introduce LLVMDIBuilderRef 2017-04-20 14:22:47 +00:00