aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-12-16 01:56:27 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-12-16 01:56:27 +0000
commit7cc3d31e15a106e132532df1dc85291817665ef2 (patch)
tree1eca7bd7c525f6b182994d0a035afb40c8186c47 /clang/lib/Frontend/CompilerInvocation.cpp
parent561dade58d0b142ea0d38001923f8441be3cf2fe (diff)
downloadllvm-7cc3d31e15a106e132532df1dc85291817665ef2.zip
llvm-7cc3d31e15a106e132532df1dc85291817665ef2.tar.gz
llvm-7cc3d31e15a106e132532df1dc85291817665ef2.tar.bz2
Simplify the setup leading to the testing of ReadMemory(), ReadCStringFromMemory(), and ReadUnsignedFromMemory().
Instead of getting the location of the variable and converting the hex string to an int, just use val.AddressOf().GetValueAsUnsigned() to compute the address of the memory region to read from. llvm-svn: 146719
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions