Introduce Decl::hasBody() and FunctionDecl::hasBody() and use them instead of getBody() when we are just checking the existence of a body, to avoid de-serialization of the body from PCH.

Makes de-serialization of the function body even more "lazier".

llvm-svn: 107768
18 files changed
tree: 08e6585f46beb9a33cd278305de545cffb271df5
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/