gcc-4.8.1 fails to build clang because of a regression in that version of gcc
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58022). See details about the
generated error in https://llvm.org/bugs/show_bug.cgi?id=26362. To work around
the build error, this diff moves definitions cast(clang::CodeGen::Address) and
isa(clang::CodeGen::Address) from llvm to clang namespace. No build errors
are introduced with this change.
I've tested this with gcc-4.8.1 and gcc-4.9.0 both on master and release_38.